Question d’entretien chez MongoDB

Code - Valid Sudoku and it's time complexity