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 one unique longes ...
分类:
其他好文 时间:
2016-09-20 06:49:11
阅读次数:
141
MTU,即Maximum Transmission Unit(最大传输单元),此值设定TCP/IP协议传输数据报时的最大传输单元。以太网的MTU值是1500 bytes。 首先计算最大的IP包中IP净荷的长度 =MTU-IP包头长度=1500-20= 1480 bytes。 传输层: 对于UDP协议 ...
分类:
其他好文 时间:
2016-09-18 20:58:23
阅读次数:
152
使用zepot做轮播图<head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, mi ...
分类:
移动开发 时间:
2016-09-17 00:28:13
阅读次数:
538
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 farthest l ...
分类:
其他好文 时间:
2016-09-16 19:40:27
阅读次数:
98
B. Maximum Submatrix 2 time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output B. Maximum Submat ...
分类:
编程语言 时间:
2016-09-15 16:31:05
阅读次数:
228
Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4],t ...
分类:
其他好文 时间:
2016-09-15 15:05:05
阅读次数:
135
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 ...
分类:
其他好文 时间:
2016-09-15 13:44:57
阅读次数:
137
Find 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,-1,2, ...
分类:
其他好文 时间:
2016-09-15 13:40:32
阅读次数:
120
虚拟机上搭建jenkins,出现unable to free [10] percent of the cache for Context [/jenkins] 提示让我加大缓存 consider increasing the maximum size of the cache. stackoverf ...
分类:
系统相关 时间:
2016-09-14 23:17:09
阅读次数:
849
RMQ问题之ST算法 RMQ(Range Minimum/Maximum Query)问题,即区间最值问题。给你n个数,a1 , a2 , a3 , ... ,an,求出区间 [ l , r ]的最大值。 举例:a={ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 },求出区间 ...
分类:
编程语言 时间:
2016-09-14 01:55:52
阅读次数:
277