Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:
其他好文 时间:
2014-06-27 12:46:45
阅读次数:
238
注释中address是纠正的意思 等价于correct/*!Pure v0.5.0Copyright 2014 Yahoo! Inc. All rights reserved.Licensed under the BSD License.https://github.com/yui/pure/blo...
分类:
Web程序 时间:
2014-06-27 12:44:58
阅读次数:
356
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatena...
分类:
其他好文 时间:
2014-06-27 12:44:16
阅读次数:
226
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
分类:
其他好文 时间:
2014-06-27 12:29:18
阅读次数:
294
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of ...
分类:
其他好文 时间:
2014-06-27 12:27:28
阅读次数:
169
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
分类:
其他好文 时间:
2014-06-27 12:25:27
阅读次数:
721
Given a collection of numbers, return all possible permutations.
分类:
其他好文 时间:
2014-06-27 12:19:22
阅读次数:
241
Given an array and a value, remove all instances of that value in place and return the new length.
分类:
其他好文 时间:
2014-06-27 12:17:58
阅读次数:
156
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic...
分类:
其他好文 时间:
2014-06-27 12:13:18
阅读次数:
207
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
分类:
其他好文 时间:
2014-06-27 12:11:50
阅读次数:
337