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-14 16:44:41
阅读次数:
109
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.
For example,
Given n = 3, your program should return all 5 unique BST's shown below.
1 3 ...
分类:
其他好文 时间:
2015-01-14 09:52:27
阅读次数:
150
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:
其他好文 时间:
2015-01-13 23:09:55
阅读次数:
151
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:
其他好文 时间:
2015-01-13 22:55:24
阅读次数:
195
matlab 基础 unique函数与ismember函数...
分类:
其他好文 时间:
2015-01-13 21:39:37
阅读次数:
283
https://oj.leetcode.com/problems/unique-binary-search-trees/Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For...
分类:
其他好文 时间:
2015-01-13 21:13:32
阅读次数:
161
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-01-13 19:50:02
阅读次数:
147
最近遇到mysql字段的自增问题,需要临时处理一下,然后就顺便补补课,这样就有了这样一篇文章。1.自增值是什么他是一个字段属性,是用来创建唯一标识的列的The AUTO_INCREMENT attribute can be used to generate a unique identity for...
分类:
数据库 时间:
2015-01-13 19:15:55
阅读次数:
166
1.约束作用: 约束的目的就是确保表中的数据的完整性2.常用的约束类型如下 主键约束:(Primary Key constraint) 要求主键列唯一,并且不允许为空 唯一约束:(Unique Constraint) 要求该列唯一,允许为空,但只能出现一个空值 检查约...
分类:
数据库 时间:
2015-01-13 15:44:26
阅读次数:
300
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-13 15:40:23
阅读次数:
169