码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
LeetCode的medium题集合(C++实现)九
1 Jump Game Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Determ...
分类:编程语言   时间:2015-05-21 12:48:33    阅读次数:144
Maximum Gap
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/space.Return 0 ...
分类:其他好文   时间:2015-05-20 08:15:30    阅读次数:133
spark streaming限制吞吐
使用spark.streaming.receiver.maxRate这个属性限制每秒的最大吞吐。官方文档如下:Maximum rate (number of records per second) at which each receiver will receive data. Effective...
分类:其他好文   时间:2015-05-19 12:36:22    阅读次数:226
限制上传大小、用COS实现文件上传与下载 五(63)
一 限制上传大小1:限制总文件的大小 。 如 上传10文件,设置最多总上传大小为100M。voidsetSizeMax(longsizeMax) Sets the maximum allowed size of a complete request, as opposed to setFile...
分类:Web程序   时间:2015-05-19 12:11:18    阅读次数:166
LeetCode: Binary Tree Maximum Path Sum
Title: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, ...
分类:其他好文   时间:2015-05-18 16:35:54    阅读次数:108
【Binary Tree Maximum Path Sum】cpp
题目: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, 1 ...
分类:其他好文   时间:2015-05-18 12:41:10    阅读次数:113
viewport 的使用
initial-scale初始缩放。即页面初始缩放程度。这是一个浮点值,是页面大小的一个乘数。例如,如果你设置初始缩放为“1.0”,那么,web页面在展现的时候就会以target density分辨率的1:1来展现。如果你设置为“2.0”,那么这个页面就会放大为2倍。maximum-scale最大....
分类:其他好文   时间:2015-05-18 12:30:25    阅读次数:128
leetcode_Maximum Product Subarray
0.动态规划问题,和求最大连续和maximum subarray类似,但感觉比求最大连续和复杂的多 1.以0为分割元素获得一系列的区间 2.对每一个区间求最大值 3.具体到每一个区间,顺序查找一遍寻找最大的序列,逆序查找一遍寻找最大的序列,求顺序或逆序查找的最大值 4.注意:(tempCount1&1) == 1)可以节省好多时间,用%2==1就不行...
分类:其他好文   时间:2015-05-18 10:59:04    阅读次数:146
Binary Tree Maximum Path Sum -- leetcode
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, 1 / 2 3 Return 6. ...
分类:其他好文   时间:2015-05-18 09:18:17    阅读次数:102
android的viewport 解决网页自动缩放的问题
content属性值 : width:可视区域的宽度,值可为数字或关键词device-width height:同width intial-scale:页面首次被显示是可视区域的缩放级别,取值1.0则页面按实际尺寸显示,无任何缩放 maximum-scale=1.0, minimum-sca...
分类:移动开发   时间:2015-05-17 23:21:11    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!