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-05-24 04:45:39
阅读次数:
245
5道题目分别是:【Subsets】、【Subsets II】、【Unique Paths】、【Unique Paths II】、【Trapping Rain Water 】,由于有一些题目不需要发一整篇博文来记录,所以就将这些题目以一篇博文5道来记录。...
分类:
其他好文 时间:
2014-05-22 08:35:03
阅读次数:
348
什么是网站UV,与IP、PV在概念上的区别?UV(独立访客):即Unique
Visitor,访问您网站的一台电脑客户端为一个访客。00:00-24:00内相同的客户端只被计算一次。 PV(访问量):即Page View,
即页面浏览量或点击量,用户每次刷新即被计算一次。 IP(独立IP):指独立I...
分类:
Web程序 时间:
2014-05-21 21:22:45
阅读次数:
292
【题目】
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
Each number in C may only be used once in the combination.
Note:
All numbers (including target) will be ...
分类:
其他好文 时间:
2014-05-21 15:55:25
阅读次数:
259
【题目】
Write a program to solve a Sudoku puzzle by filling the empty cells.
Empty cells are indicated by the character '.'.
You may assume that there will be only one unique solution.
A sudoku puzzle...
...and its solution numbers marked in red.
...
分类:
其他好文 时间:
2014-05-20 17:07:34
阅读次数:
335
自己画了一块FMC-VHDCI四层板,外接VmodCAM,接口定义如下
#CAMA PIN CONSTRACT
NET "CAMA_D_I[7]" LOC = T17 | IOSTANDARD = LVCMOS33;
NET "CAMA_D_I[6]" LOC = T16 | IOSTANDARD = LVCMOS33;
NET "CAMA_D_I[5]" LOC = M21 |...
分类:
数据库 时间:
2014-05-20 15:33:34
阅读次数:
610
Combination Sum IGiven 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-05-19 16:41:14
阅读次数:
269
4Sum
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 which gives the sum of target....
分类:
其他好文 时间:
2014-05-18 13:49:09
阅读次数:
306
【题目】
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 which gives the sum of target.
Note:
Elements in a quadruplet (a,b,c,d) must be in non-descending ord...
分类:
其他好文 时间:
2014-05-18 08:46:04
阅读次数:
227
【题目】
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 zero.
Note:
Elements in a triplet (a,b,c) must be in non-descending order. (ie, a ≤ b ≤ c)
The so...
分类:
其他好文 时间:
2014-05-18 03:15:50
阅读次数:
287