Given a string S and a string T, count the number of distinct subsequences ofT inS. A subsequence of a string is a new string which is formed from the ...
分类:
其他好文 时间:
2017-06-14 02:16:32
阅读次数:
263
485. Max Consecutive Ones 题目: Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Note: The input array will onl ...
分类:
编程语言 时间:
2017-06-13 20:44:17
阅读次数:
289
Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. For example:Given the below binary tree, Return 6. ...
分类:
其他好文 时间:
2017-06-13 16:42:13
阅读次数:
141
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="initial-scale=1, maxi ...
分类:
其他好文 时间:
2017-06-13 11:19:47
阅读次数:
147
1 bit[(M)] 2 二进制位(101001),m表示二进制位的长度(1-64),默认m=1 3 4 tinyint[(m)] [unsigned] [zerofill] 5 6 小整数,数据类型用于保存一些范围的整数数值范围: 7 有符号: 8 ... ...
分类:
数据库 时间:
2017-06-12 20:44:10
阅读次数:
246
Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [-2,1,-3,4,-1,2, ...
分类:
其他好文 时间:
2017-06-12 20:40:29
阅读次数:
155
题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=16&page=show_problem&problem=1346 Dynamic programming 需要注意的是input里 ...
分类:
其他好文 时间:
2017-06-12 18:45:48
阅读次数:
147
在书写移动端项目的时候,我们必不可少的就是meta标签的viewport视图: <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scle=2.0,mininum-scale=1.0,user-sc ...
分类:
移动开发 时间:
2017-06-12 18:11:34
阅读次数:
287
SELECTCOLUMN_NAME,DATA_TYPE AS `数据类型`,CHARACTER_MAXIMUM_LENGTH AS `字符长度`,NUMERIC_PRECISION AS `数字长度`,NUMERIC_SCALE AS `小数位数`,IS_NULLABLE AS `是否允许非空`,C ...
分类:
数据库 时间:
2017-06-12 12:57:50
阅读次数:
211
系统报出一SQL异常,内容如下: java.sql.SQLException: ORA-01795: maximum number of expressions in a list is 1000 找出抛异常时执行的SQL语句,貌不惊人啊,很平常一SQL语句,内容类似:SELECT * FROM D ...
分类:
其他好文 时间:
2017-06-12 00:41:05
阅读次数:
248