码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
移动端如何编写自适应网页
一、html页面中head部分引入 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1"> content属性值 : width:可视区域的宽度,值可为数字或关键词device-wid ...
分类:移动开发   时间:2017-07-16 22:33:42    阅读次数:239
643. Maximum Average Subarray I 最大子阵列平均数
Given an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output the... ...
分类:其他好文   时间:2017-07-16 19:27:17    阅读次数:176
最大熵学习笔记(四)模型求解
生活中我们常常听到人们说“不要把鸡蛋放到一个篮子里”,这样能够减少风险。深究一下。这是为什么呢?事实上,这里边包括了所谓的最大熵原理(The Maximum Entropy Principle)。本文为一则读书笔记,将对最大熵原理以及由此导出的最大熵模型进行介绍,重点给出当中所涉及数学公式的理解和具 ...
分类:其他好文   时间:2017-07-16 19:17:25    阅读次数:146
[LeetCode] Best Time to Buy and Sell Stock II
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:其他好文   时间:2017-07-16 15:47:41    阅读次数:132
TIME_WAIT状态及存在原因
1. 客户端与服务器端建立TCP/IP连接后关闭SOCKET后,服务器端连接的端口状态为TIME_WAIT; 2. 主动关闭的Socket端会进入TIME_WAIT状态,并且持续2MSL时间长度,MSL就是maximum segment lifetime(最大分节生命期); 这是一个IP数据包能在互 ...
分类:其他好文   时间:2017-07-16 14:19:18    阅读次数:131
[leetcode-644-Maximum Average Subarray II]
Given an array consisting of n integers, find the contiguous subarray whose length is greater than or equal to k that has the maximum average value. A ...
分类:其他好文   时间:2017-07-16 14:16:39    阅读次数:283
[LeetCode] Maximum Average Subarray I
Given an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output the ...
分类:其他好文   时间:2017-07-16 14:15:52    阅读次数:175
[leetcode-643-Maximum Average Subarray I]
Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ? s. If there isn't ...
分类:其他好文   时间:2017-07-16 13:40:37    阅读次数:165
MTU的概念,什么是路径MTU? MTU发现机制,TraceRoute(了解)
1、MTU的概念 MTU即Maximum Transmission Unit 最大传输单元。它是指一种通信协议的某一层上面所能通过的最大数据包大小(以字节为单位)。 2、路径MTU 路径MTU是指一条因特网传输路径中,从源地址到目的地址所经过的“路径”上的所有IP跳的最大传输单元的最小值。 或者从另 ...
分类:其他好文   时间:2017-07-16 11:17:01    阅读次数:400
[leetcode-525-Contiguous Array]
Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1. Example 1: Example 2: 思路: 将0改为-1,将原题目改成求最大连续区间,区间 ...
分类:其他好文   时间:2017-07-16 00:03:16    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!