Scotiabank interview question

Implement the 8 queen algorithm