N-Queens

Solution Code

Time Complexity

O(N!) ⏱️

Space Complexity

O(N^2) 💾