Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of distinct solutions.
请参考51题的思路。
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of distinct solutions.
请参考51题的思路。