Apple interview question

Write a Sudoku solution's verifier