这道题和Minimum Depth of Binary Tree一题相似,这个是求最大深度的,就是对二叉树进行递归,然后将子树的最大深度进行返回,最终得到这个树的最大深度。...
分类:
其他好文 时间:
2015-10-17 23:48:57
阅读次数:
345
题目:最长上升连续子序列给定一个整数数组(下标从 0 到 n-1, n 表示整个数组的规模),请找出该数组中的最长上升连续子序列。(最长上升连续子序列可以定义为从右到左或从左到右的序列。)样例给定[5, 4, 2, 1, 3], 其最长上升连续子序列(LICS)为[5, 4, 2, 1], 返回4....
分类:
其他好文 时间:
2015-10-17 17:34:03
阅读次数:
247
LeetCode 104 Maximum Depth of Binary Treehttps://leetcode.com/problems/maximum-depth-of-binary-tree//** * Definition for a binary tree node. * struct ...
分类:
其他好文 时间:
2015-10-17 10:40:07
阅读次数:
131
1.width可是宽度,initial-scale初始化缩放比例,maximum-scale允许用户缩 放的最大比例,minimum-scale允许用户缩放的最小比例,user-scalable是否允许用户缩放。2.-webkit-tap-highlight-color:rgba(255,255,2...
分类:
移动开发 时间:
2015-10-16 10:11:13
阅读次数:
266
1.width可是宽度,initial-scale初始化缩放比例,maximum-scale允许用户缩放的最大比例,minimum-scale允许用户缩放的最小比例,user-scalable是否允许用户缩放。2.-webkit-tap-highlight-color:rgba(255,255,25...
分类:
移动开发 时间:
2015-10-15 16:04:35
阅读次数:
247
下载地址:http://brutaldesign.github.io/swipebox/<!DOCTYPEhtml>
<htmllang="en">
<head>
<metahttp-equiv="Content-Type"content="text/html;charset=utf-8">
<metaname="viewport"content="width=device-width,initial-scale=1,maximum-scale=1..
分类:
其他好文 时间:
2015-10-15 10:11:43
阅读次数:
168
1.width可是宽度,initial-scale初始化缩放比例,maximum-scale允许用户缩放的最大比例,minimum-scale允许用户缩放的最小比例,user-scalable是否允许用户缩放。2.-webkit-tap-highlight-color:rgba(255,255,25...
分类:
移动开发 时间:
2015-10-14 21:32:06
阅读次数:
241
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2015-10-14 19:55:53
阅读次数:
224
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2015-10-14 19:39:46
阅读次数:
129
Insystem.webAnd insystem.webServer IMPORTANT: Both of these values must match. In this case, my max upload is 1024 megabytes.maxRequest...
分类:
Web程序 时间:
2015-10-13 15:20:53
阅读次数:
142