Skip to content

Latest commit

 

History

History

0052.n-queens-ii

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

题目

Follow up for N-Queens problem.

8-queens

Now, instead outputting board configurations, return the total number of distinct solutions.

解题思路

请参考51题的思路。

总结