N-Queens II

Solution
Verifying access...

Time Complexity

O(N!)

Space Complexity

O(N)