Meta Interview Question

the eight queens problem. then another one from the practice