Question d’entretien chez Uber

write an algorithm to check whether a sudoku board is valid/complete.