Algorithm to Solve Sudoku | Sudoku Solver
Given a partially filled 9x9 2D array 'grid[9][9]', the goal is to assign digits (from 1 to 9) to the empty cells so that every row, column, and subgrid of size 3x3 contains exactly one instance of the digits from 1 to 9. Examples: Input: grid{ {3, 0, 6, 5, 0, 8, 4, 0, 0},{5, 2, 0, 0, 0, 0, 0, 0, 0}