Question d’entretien chez Meta

Provide a solution to the N-queens problem.