Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2015-02-10 15:06:02
阅读次数:
172
Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:Elemen...
分类:
其他好文 时间:
2015-02-10 14:48:12
阅读次数:
203
Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum of ...
分类:
其他好文 时间:
2015-02-10 14:47:48
阅读次数:
172
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:
其他好文 时间:
2015-02-10 14:42:36
阅读次数:
116
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:
其他好文 时间:
2015-02-10 14:37:42
阅读次数:
208
畅通工程再续Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescription相信大家都听说一个“百岛湖”的地方吧,百岛湖的居民生活在不同的小岛中,当他们想去其他的小岛时都要通过划小船来实...
分类:
其他好文 时间:
2015-02-10 10:57:32
阅读次数:
162
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
For example,
Given n = 3, there are a total of 5 unique BST's.
1 3 3 2 1
\ ...
分类:
其他好文 时间:
2015-02-10 01:57:18
阅读次数:
121
Jeff Iliff is a neuroscientist who explores the unique functions of the brain.神经科学家。在linkedin注册https://www.linkedin.com/pub/jeffrey-iliff/47/856/a52Go...
分类:
其他好文 时间:
2015-02-10 00:20:20
阅读次数:
468
POJ 1679 The Unique MST 判断最小生成树是否唯一...
分类:
其他好文 时间:
2015-02-09 18:23:48
阅读次数:
163
还是畅通工程Time Limit:2000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescription某省调查乡村交通状况,得到的统计表中列出了任意两村庄间的距离。省政府“畅通工程”的目标是使全省任何两个村庄间都...
分类:
其他好文 时间:
2015-02-09 17:35:12
阅读次数:
443