Given a collection of distinct numbers, return all possible permutations. For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3 ...
分类:
其他好文 时间:
2016-05-04 13:23:56
阅读次数:
240
Connect the UI to Code 主题 The weak keyword means that it’s possible for that property to have no value (be nil) at some point in its life. - @IBOutlet ...
分类:
其他好文 时间:
2016-04-30 11:23:50
阅读次数:
177
SUM
Description
There is a number sequence ,you
can select a interval [l,r] or not,all the numbers will
become ..After
that,the sum of n numbers should be as much as possible.What is ...
分类:
其他好文 时间:
2016-04-29 17:04:53
阅读次数:
233
一天一道LeetCode系列(一)题目
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.
If such arrangement is not possible, it must rearrange it...
分类:
其他好文 时间:
2016-04-29 16:45:18
阅读次数:
138
Given a collection of distinct numbers, return all possible permutations. For example, [1,2,3] have the following permutations: [1,2,3], [1,3,2], [2,1 ...
分类:
其他好文 时间:
2016-04-27 18:48:08
阅读次数:
135
SUM
Description
There is a number sequence ,you
can select a interval [l,r] or not,all the numbers will
become ..After
that,the sum of n numbers should be as much as possible.What is ...
分类:
其他好文 时间:
2016-04-26 20:12:51
阅读次数:
170
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-04-26 15:42:52
阅读次数:
173
Problem B Problem Description A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X ...
分类:
其他好文 时间:
2016-04-26 10:58:03
阅读次数:
165
Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example: Given "25525511135", return [" ...
分类:
其他好文 时间:
2016-04-24 14:21:35
阅读次数:
193
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-04-21 20:33:34
阅读次数:
268