Tuesday, December 22, 2015

52. N-Queens II

Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of distinct solutions.
Java Code:

No comments:

Post a Comment