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
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
Given a collection of intervals, merge all overlapping intervals.
分类:
其他好文 时间:
2014-06-27 11:59:41
阅读次数:
169
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.
分类:
其他好文 时间:
2014-06-27 11:51:13
阅读次数:
193
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
分类:
其他好文 时间:
2014-06-27 11:47:58
阅读次数:
166