题目如下: In a given array nums of positive integers, find three non-overlapping subarrays with maximum sum. Each subarray will be of size k, and we want ...
分类:
移动开发 时间:
2019-10-02 10:53:38
阅读次数:
130
我们在开发移动设备的网站时,最常见的的一个动作就是把下面这个东西复制到我们的head标签中: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable= ...
分类:
移动开发 时间:
2019-09-30 16:55:48
阅读次数:
108
104. Maximum Depth of Binary Tree Easy Easy Easy Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longe ...
分类:
其他好文 时间:
2019-09-29 15:39:53
阅读次数:
112
CIVL3431[6431*] – Land Surface Processes and ManagementAssignment 2 – Hydrologic Modelling and Sensitivity Analysis 30 % [24%*]Due: 27th September Fri ...
分类:
其他好文 时间:
2019-09-28 20:16:49
阅读次数:
95
动态规划不在于记住dp table里填什么,而在于找到subproblems。 53. Maximum Subarray 最大子序列和 https://leetcode.com/problems/maximum-subarray/ 题目:给定整数数组nums,查找具有最大和的连续子数组(至少包含一个 ...
分类:
其他好文 时间:
2019-09-28 01:02:16
阅读次数:
112
常用的数据库镜像 docker pull wangpengcheng/oracle12c-enterprise:12.2.0.1-sys docker pull mysql:5.7.26 docker pull store/ibmcorp/db2_developer_c:11.1.4.4-x86_6 ...
分类:
数据库 时间:
2019-09-27 01:57:44
阅读次数:
385
1.Minimum Depth of Binary Tree 2.Maximum Depth of Binary Tree 3.Path Sum 4.Path Sum II 5.Binary Tree Maximum Path Sum ...
分类:
其他好文 时间:
2019-09-27 01:29:49
阅读次数:
85
Two soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier. Then the second one t ...
分类:
其他好文 时间:
2019-09-25 22:27:48
阅读次数:
105
HBase中JVM基本配置 在JVM中,默认情况下会设置minimum heap size 为 1/64 可用物理内存,并为maximum heap size设置 1/4 的物理可用内存(不过在Java8 之前,默认最大是1g)。当然,我们可以通过手动指定 JVM 参数,配置JVM的内存,例如: 在 ...
分类:
其他好文 时间:
2019-09-23 18:04:56
阅读次数:
129
"传送门" A Maximum Multiple 推一下式子暴力判断即可,范围不会太大。 Code cpp include define MP make_pair define fi first define se second define sz(x) (int)(x).size() // def ...
分类:
其他好文 时间:
2019-09-23 14:56:55
阅读次数:
78