Question d’entretien chez Infosys

Explain N-Queens algorithm and its time complexity