
左移
文章平均质量分 83
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 47. Permutations II(排列)
原题网址:https://leetcode.com/problems/permutations-ii/ Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, [1,1,2] have the followi原创 2016-05-21 05:23:53 · 755 阅读 · 0 评论 -
LeetCode 52. N-Queens II(N皇后)
原题网址:https://leetcode.com/problems/n-queens-ii/ Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct solutions. 方法一:深度优先搜索,使用一原创 2016-05-21 06:27:12 · 965 阅读 · 0 评论