Sudoku Solver

Write a program to solve a Sudoku puzzle by filling empty cells with digits 1-9.

The board is a 9x9 grid with some cells filled and others empty. Each row, each column, and each 3x3 subgrid must contain all digits 1-9 without repetition.

Examples
Input: [[".","8",".","6",".",".",".",".","3"],[".","9",".","3",".",".",".",".","7"],[".","1",".",".","7","9",".",".","4"],["9",".","2",".",".",".",".","3","."],[".","5","7","8",".",".",".",".","."],[".","3",".","2","5","4",".",".","."],[".",".",".","9",".",".",".","8","2"],[".",".","3",".",".",".","6","9","."],[".",".",".","4","2","1",".",".","5"]]
Output: [["7","8","4","6","1","2","9","5","3"],["2","9","5","3","4","8","1","6","7"],["3","1","6","5","7","9","8","2","4"],["9","4","2","1","6","7","5","3","8"],["1","5","7","8","9","3","2","4","6"],["6","3","8","2","5","4","7","1","9"],["5","7","1","9","3","6","4","8","2"],["4","2","3","7","8","5","6","9","1"],["8","6","9","4","2","1","3","7","5"]]
Hints

Sudoku Solver

Write a program to solve a Sudoku puzzle by filling empty cells with digits 1-9.