摘要: Given a list of numbers with duplicate number in it. Find all unique permutations. Example For numbers [1,2,2] the unique permutations are: [ [1,2,2], 阅读全文
posted @ 2017-09-21 14:15 jasminemzy 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Given a list of numbers, return all possible permutations. Notice You can assume that there is no duplicate numbers in the list. Example For nums = [1 阅读全文
posted @ 2017-09-21 07:42 jasminemzy 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Given a list of numbers that may has duplicate numbers, return all possible subsets Notice Each element in a subset must be in non-descendingorder. Th 阅读全文
posted @ 2017-09-21 05:42 jasminemzy 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Given a set of distinct integers, return all possible subsets. Notice Elements in a subset must be in non-descending order. The solution set must not 阅读全文
posted @ 2017-09-21 03:24 jasminemzy 阅读(100) 评论(0) 推荐(0) 编辑