Cisco interview question

N queens problem.