- 博客(1)
- 收藏
- 关注
原创 leetcode 52. N-Queens II
题目内容Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.题目分析n皇后问题,找出所有的可行解。通过本方法,没有记录皇后的坐标代码public class Solution { private final
2016-08-04 22:05:14 471
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人