码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
L【leetcode】ongest Palindromic Substring
Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there...
分类:其他好文   时间:2014-12-28 23:38:24    阅读次数:271
[C++]LeetCode: 58 Maximum Subarray
题目: 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,1,?5,4], the contiguous subarray [4,?1,...
分类:编程语言   时间:2014-12-28 14:17:01    阅读次数:213
leetcode 155: Maximum Gap
Maximum Gap Total Accepted: 2946 Total Submissions: 12695 Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Try to solve it in linear ti...
分类:其他好文   时间:2014-12-28 07:07:47    阅读次数:146
Leetcode:【DP】Longest Palindromic Substring 解题报告
Longest Palindromic Substring-- HARD 级别Question SolutionGiven a string S, find the longest palindromic substring in S. You may assume that the maximum...
分类:其他好文   时间:2014-12-27 20:12:16    阅读次数:136
LintCode-Maximum Subarray Difference
Given an array with integers.Find two non-overlapping subarrays A and B, which |SUM(A) - SUM(B)| is the largest.Return the largest difference.NoteThe ...
分类:其他好文   时间:2014-12-27 06:41:35    阅读次数:140
Lintcode-Max Tree
Given an integer array with no duplicates. A max tree building on this array is defined as follow:The root is the maximum number in the arrayThe left ...
分类:其他好文   时间:2014-12-27 06:37:51    阅读次数:132
html 适合页面大小
<head><metahttp-equiv="Content-Type"content="text/html;charset=UTF-8"><metacontent="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"name="viewport"><metaname="format-detection"content="telephone=no"><metacon..
分类:Web程序   时间:2014-12-26 18:57:02    阅读次数:167
PHP超时提示Fatal error: Maximum execution time of 30,解决方案
PHP执行超时提示如下:Fatal error: Maximum execution time of 30 seconds exceeded in D:\php\AppServ\www\sum3\test.php on line 5这个错误是说你的php执行时间越过了配置文件中设置的最大执行时间30...
分类:Web程序   时间:2014-12-26 18:13:17    阅读次数:184
Heapsort
Basic plan for in-place sort. a.Create max-heap with all N keys. b.Repeatedly remove the maximum key. Procesure #include #include int N=11; char a[]={' ','S','E','E','L','M','O','P','R','S','T','...
分类:其他好文   时间:2014-12-26 09:42:19    阅读次数:186
meta name="viewport" content="width=device-width,initial-scale=1.0" 解释
content属性值 : width:可视区域的宽度,值可为数字或关键词device-width height:同width intial-scale:页面首次被显示是可视区域的缩放级别,取值1.0则页面按实际尺寸显示,无任何缩放 maximum-scale=1.0, minimum-sca...
分类:Web程序   时间:2014-12-25 17:47:59    阅读次数:173
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!