Infosys interview question

Explain N-Queens algorithm and its time complexity