Snap interview question

Implement a sudoku algorithm