Samsara interview question

Sudoku check completion coding problem