Solution to N-Queens II by LeetCode

9 Jun


Question Name: N-Queens II

Same method as that in N-Queens problem. But we could save some time and space by not recording the chessboard.

Leave a Reply

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

Please put your code into a <pre>YOUR CODE</pre> section. Thanks and Happy Coding!