Meta interview question

the eight queens problem. then another one from the practice