![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
algorithm
clark2009
这个作者很懒,什么都没留下…
展开
-
leetcode
100msint lengthOfLongestSubstring(string s) { if (s.empty()) return 0; int i, j, len, max_len, n; max_len = 1; int all_chars[26] = {0};原创 2014-03-01 21:42:48 · 450 阅读 · 0 评论 -
leetcode Add Two Numbers
Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two number原创 2014-03-04 21:33:10 · 524 阅读 · 0 评论 -
leetcode Generate Parentheses
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:"((()))", "(()())", "(())()", "()(())", "()()()"32/转载 2014-03-06 00:01:43 · 487 阅读 · 0 评论 -
leetcode Next Permutation
Next PermutationImplement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rearrange it as原创 2014-03-08 15:18:00 · 664 阅读 · 0 评论 -
leetcode Permutations
Permutations回字的四种写法,我直接next Permutation这个分析的很好http://blog.csdn.net/tuantuanls/article/details/8717262原创 2014-03-08 15:43:47 · 6184 阅读 · 0 评论