Amazon interview question

Sudoku LeetCode Medium Question for technical