Pergunta de entrevista da empresa Uber

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