Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

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题的思路。

总结