Pregunta de entrevista de Tata Consultancy Services

They asked me to code N-Queens problem.