| Topic | Difficulty | Companies |
|---|---|---|
| Backtracking | HARD | Amazon Google Microsoft |
Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all of the following rules:
1-9 must occur exactly once in each row.1-9 must occur exactly once in each column.1-9 must occur exactly once in each of the 9 3x3 sub-boxes of the grid.Problem Note:
'.'.Example
Input: A given sudoku puzzle:


Output: Solution numbers are marked in blue.
