Apple Interview Question

Write a Sudoku solution's verifier