Solution to N-Queens by LeetCode

4 Jun

Question: https://oj.leetcode.com/problems/n-queens/

Question Name: N-Queens

2 thoughts on “Solution to N-Queens by LeetCode

  1. Will your bitwise approach make the algorithm faster in terms of time complexity?

    I think my algorithm runs O(N!), as same as permutation and it’s recursive as well…

Leave a Reply

Your email address will not be published. Required fields are marked *