码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
计算机通信网中最长、最短的概念
MTU (Maximum Transmission Unit)——网络层最大传输单元,最大报文包(以字节为单位)。MSS ( Maximum Segment Size)——传输层最大分段大小,是TCP协议里面的一个概念。为了达到最佳的传输效能,TCP协议在建立连接的时候通常要协商双方的MSS值,这个...
分类:其他好文   时间:2015-09-20 17:31:10    阅读次数:242
LeetCode 5 Longest Palindromic Substring(最大回文子字符串)
翻译给定一个字符串S,找出它的最大回文子字符串。 你可以假定S的最大长度为1000, 并且这里存在唯一一个最大回文子字符串。原文Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists on...
分类:其他好文   时间:2015-09-20 14:48:24    阅读次数:154
LeetCode -- Maximum Depth of Binary Tree
Question:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the fa...
分类:其他好文   时间:2015-09-20 14:29:30    阅读次数:111
Maximum Subarray 解答
QuestionFind the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4...
分类:其他好文   时间:2015-09-20 06:57:26    阅读次数:102
LeetCode -- Best Time to Buy and Sell Stock III
Question:Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may c...
分类:其他好文   时间:2015-09-19 16:39:40    阅读次数:142
LeetCode -- Best Time to Buy and Sell Stock II
Question:Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may c...
分类:其他好文   时间:2015-09-19 15:14:27    阅读次数:175
RMQ问题ST算法
1. 概述RMQ(Range Minimum/Maximum Query),即区间最值查询,是指这样一个问题:对于长度为n的数列A,回答若干询问RMQ(A,i,j)(i,j#include#include#include#include#include#includeusing namespace ...
分类:编程语言   时间:2015-09-19 10:46:47    阅读次数:223
计算机网络之数据链路层
数据链路层协议有许多种,但是有三个基本问题则是共同的:封装成帧、透明传输和差错检测。(1)封装成帧所有在因特网上传送的数据都是以IP数据报为传送单位的,网络层的IP数据报传送到数据链路层就成为帧的数据部分,在帧的数据部分的前面和后面添加上首部和尾部,构成一个完整的帧。每一种链路层协议都规定了帧的数据部分的长度上线——最大传送单元MTU(Maximum Transfer Unit)。 (2)透明传输...
分类:其他好文   时间:2015-09-18 13:53:37    阅读次数:223
[解题报告]Binary Tree Maximum Path Sum
题目:Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.ExampleGiven the below binary tree: 1 / \2 3re...
分类:其他好文   时间:2015-09-17 13:14:16    阅读次数:150
php中Maximum execution time of 120 seconds exceeded时间超时错误解决方案
1.修改php的配置文件,找到php.ini文件 max_execution_time = 120 ;//设置成你想要的值,单位是秒2.使用ini_set()函数,使用这个函数来改变你的最大执行时间限制值 ini_set('max_execution_time', '100');则设置为100秒.....
分类:Web程序   时间:2015-09-17 11:29:16    阅读次数:116
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!