104. Maximum Depth of Binary Tree 二叉树的最大深度 解题思路 深度优先搜索,将每一层的深度传给下一层,直到传到叶节点,将深度存入集合。最后取出集合中最大的数即为最大深度。 111. Minimum Depth of Binary Tree 二叉树的最小深度 解题思路 ...
https://leetcode.com/problems/maximum-subarray/ Given an integer array nums, find the contiguous subarray (containing at least one number) which has t ...
分类:
其他好文 时间:
2018-11-21 19:42:36
阅读次数:
190
"Top-down" Solution Here is the pseudocode for the recursion function maximum_depth(root, depth): 1. return if root is null 2. if root is a leaf node: ...
分类:
其他好文 时间:
2018-11-21 19:35:40
阅读次数:
115
本文通过MetaWeblog自动发布,原文及更新链接:https://extendswind.top/posts/technical/hadoop_yarn_resource_scheduler 搜了一些博客,发现写得最清楚的还是《Hadoop权威指南》,以下内容主要来自《Hadoop The De... ...
分类:
其他好文 时间:
2018-11-21 12:30:24
阅读次数:
160
1. Question: 643. Maximum Average Subarray I url https://leetcode.com/problems/maximum-average-subarray-i/ Given an array consisting of n integers, fi ...
分类:
其他好文 时间:
2018-11-20 00:03:09
阅读次数:
199
大数据的5V特点(IBM提出):Volume(大量)、Velocity(高速)、Variety(多样)、Value(低价值密度)、Veracity(真实性)大数据的应用:预测犯罪的发生;预测禽流感的散布;美国选举结果;利用手机定位数据和交通数据建立城市规划;电商把假货卖给谁等等。大数据涉及到的技术: ...
分类:
其他好文 时间:
2018-11-19 21:45:16
阅读次数:
210
Maximum Xor Secondary CodeForces - 280B Bike loves looking for the second maximum element in the sequence. The second maximum element in the sequence ...
分类:
其他好文 时间:
2018-11-19 21:43:54
阅读次数:
198
CSS3里面很多地方浏览器不兼容,需要我们根据浏览器的内核添加前缀:火狐浏览器 -moz-谷歌和苹果 -webkit-ie9以及以上版本 -ms-欧朋 -o-早期的苹果浏览器(safari) linux konqueror 需要加:-khtml-谷歌2013 自己开发了新的内核 blink 响应式手 ...
分类:
移动开发 时间:
2018-11-18 15:04:51
阅读次数:
142
53. Maximum Subarray Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return i ...
分类:
其他好文 时间:
2018-11-17 19:13:51
阅读次数:
196