GOAT Group interview question

Create a method to validate sudoku