Place n queens on an n x n board so no two attack each other. Return all distinct solutions as board configurations.
Practise this challenge
All coding challenges