题目:Given a set of distinct integers,nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must ...
分类:
编程语言 时间:
2016-01-04 22:19:11
阅读次数:
255
题目:Given a collection of integers that might contain duplicates, nums, return all possible subsets.Note:Elements in a subset must be in non-descending...
分类:
其他好文 时间:
2016-01-04 10:03:53
阅读次数:
159
题目:Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representa...
分类:
其他好文 时间:
2016-01-04 08:55:51
阅读次数:
208
Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ...
分类:
其他好文 时间:
2016-01-03 22:14:06
阅读次数:
206
错误码定义: 1 /* Success code */ 2 #define HCI_SUCCESS 0x00 3 /* Possible error codes */ 4 #define HCI_UNK...
分类:
其他好文 时间:
2016-01-03 02:43:47
阅读次数:
1586
题目:Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example,If n = 4 and k = 2, a solution is:[ [2,4], .....
分类:
其他好文 时间:
2016-01-02 16:13:07
阅读次数:
122
题目:Given a set of distinct integers, nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must...
分类:
其他好文 时间:
2016-01-02 16:06:45
阅读次数:
115
Given a collection ofdistinctnumbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3...
分类:
其他好文 时间:
2016-01-02 12:24:15
阅读次数:
216
For a undirected graph with tree characteristics, we can choose any node as the root. The result graph is then a rooted tree. Among all possible roote...
分类:
其他好文 时间:
2016-01-01 07:21:47
阅读次数:
176
题目来源https://leetcode.com/problems/permutations-ii/Given a collection of numbers that might contain duplicates, return all possible unique permutations...
分类:
编程语言 时间:
2015-12-30 13:20:32
阅读次数:
307