1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x) : val(x),
分类:
其他好文 时间:
2016-03-02 20:04:23
阅读次数:
178
<meta content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=1.0" name="viewport"> content属性值 : width:可视区域的宽度,值可为数字或关键词devic
分类:
移动开发 时间:
2016-03-02 10:48:13
阅读次数:
147
给定两个字符串S和T.求出这两个字符串最长的公共子序列的长度. 输入: n=4 m=4 s="abcd" t="becd" 输出: 3("bcd") 这类问题被称为最长公共子序列问题(LCS,Longest Common Subsequence)的著名问题. max(dp[i][j]+1,dp[i]
分类:
其他好文 时间:
2016-03-01 20:41:23
阅读次数:
116
meta基础知识 H5页面窗口自动调整到设备宽度,并禁止用户缩放页面 <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalab
分类:
移动开发 时间:
2016-02-28 11:01:52
阅读次数:
567
Tree of TreeTime Limit: 1 Second Memory Limit: 32768 KB You're given a tree with weights of each node, you need to find the maximum subtree of specifi
分类:
其他好文 时间:
2016-02-27 22:07:07
阅读次数:
167
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l
分类:
其他好文 时间:
2016-02-27 08:27:45
阅读次数:
153
Give an integer array,find the longest increasing continuous subsequence in this array. An increasing continuous subsequence: Can be from right to lef
分类:
其他好文 时间:
2016-02-26 08:07:58
阅读次数:
144
Question: Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should: Retur
分类:
其他好文 时间:
2016-02-24 14:18:03
阅读次数:
145
Maximum Size Subarray Sum Equals k
分类:
其他好文 时间:
2016-02-23 06:07:58
阅读次数:
267
题目大意是,给定一个无序数组,判断其中是否存在一个长度为3的递增子序列。...
分类:
其他好文 时间:
2016-02-22 17:50:51
阅读次数:
196