码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
Maximum Subarray
1. TitleMaximum Subarray2. Http addresshttps://leetcode.com/problems/maximum-subarray/3. The questionFind the contiguous subarray within an array (con...
分类:其他好文   时间:2015-11-16 22:25:53    阅读次数:132
Maximum Product Subarray
1. TitleMaximum Product Subarray2. Http addresshttps://leetcode.com/problems/maximum-product-subarray/3. The questionFind the contiguous subarray with...
分类:其他好文   时间:2015-11-16 22:23:03    阅读次数:207
TCP Silly Window Syndrome
In?the topic describing TCP‘s Maximum Segment Size (MSS) parameter, I explained the trade-off in determining the optimal size of TCP segments. If segments are too large, we risk having them become...
分类:Windows程序   时间:2015-11-15 21:54:30    阅读次数:289
POJ2479(最长连续子序列和)
Maximum sumTime Limit:1000MSMemory Limit:65536KTotal Submissions:37035Accepted:11551DescriptionGiven a set of n integers: A={a1, a2,..., an}, we defin...
分类:其他好文   时间:2015-11-13 14:32:19    阅读次数:171
maximum-depth-of-binary-tree&&minimum-depth-of-binary-tree
关于二叉树,目前在leetcode中遇到了两道题目,一道是二叉树的最大深度,一道是二叉树的最小深度;关于二叉树,整好借此机会再学习一下;二叉树是一种特殊的树,在二叉树中每个节点最多有两个子节点,一般称为左子节点和右子节点(或左孩子和右孩子),并且二叉树的子树有左右之分,其次序不能任意颠倒。二叉树是递...
分类:其他好文   时间:2015-11-13 06:18:37    阅读次数:274
LeetCode -- Sliding Window Maximum
LeetCode -- Sliding Window Maximum...
分类:Windows程序   时间:2015-11-11 01:14:37    阅读次数:289
Viewprot meta学习笔记
viewprot屏幕尺寸,专为移动页面设计参数width,height宽高,或者device-width、device-height设备的宽高initial-scale初始缩放比例。如果设2.0则会放大两倍maximum-scale允许用户缩放最大比例minumum-scale允许用户缩放最小比例u...
分类:Web程序   时间:2015-11-09 01:28:06    阅读次数:200
JavaScript拆炸弹
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale...
分类:编程语言   时间:2015-11-06 14:56:44    阅读次数:259
LeetCode Sliding Window Maximum
原题链接在这里:https://leetcode.com/problems/sliding-window-maximum/[1,3,-1,-3,5,3,6,7], andk= 3.用一个deque, 里面存index. 从尾部添加index前先检查deque的尾部index对应的元素nums[ls....
分类:Windows程序   时间:2015-11-05 07:40:26    阅读次数:264
LeetCode Maximum Gap
原题链接在这里:https://leetcode.com/problems/maximum-gap/桶排序(bucket sort)假设有N个元素A到B。那么最大差值不会大于ceiling[(B - A) / (N - 1)]令bucket(桶)的大小len =ceiling[(B - A) / (...
分类:其他好文   时间:2015-11-05 06:30:50    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!