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-01-25 11:03:14
阅读次数:
129
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-01-25 00:00:27
阅读次数:
190
【HDU】1198Farm Irrigation 基础最小生成树★1598find the most comfortable road 枚举+最小生成树★★1811Rank of Tetris 并查集+拓扑排序★★3926Hand in Hand 同构图★3938Portal 离线+并查集★★248...
分类:
其他好文 时间:
2015-01-24 22:45:59
阅读次数:
208
Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. 1.....
分类:
其他好文 时间:
2015-01-23 18:16:13
阅读次数:
236
https://oj.leetcode.com/problems/unique-paths-ii/Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique p...
分类:
其他好文 时间:
2015-01-23 14:39:35
阅读次数:
258
?AviaSlide a unique jQuery Image slideshow plugin!http://aviathemes.com/aviaslider/ESTRO SLIDER swipe effect slider plugin演示地址:http://www.ffpic.com/de...
分类:
其他好文 时间:
2015-01-22 23:04:16
阅读次数:
175
mysql优化方案总结u Mysql数据库的优化技术对mysql优化时一个综合性的技术,主要包括a: 表的设计合理化(符合3NF)b: 添加适当索引(index) [四种: 普通索引、主键索引、唯一索引unique、全文索引]c: 分表技术(水平分割、垂直分割)d: 读写[写: update/del...
分类:
数据库 时间:
2015-01-22 20:12:27
阅读次数:
323
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each number ...
分类:
其他好文 时间:
2015-01-22 13:06:40
阅读次数:
206
生成不相同的二叉树
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
c...
分类:
其他好文 时间:
2015-01-22 11:08:05
阅读次数:
126
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...
分类:
其他好文 时间:
2015-01-22 00:10:52
阅读次数:
142