码迷,mamicode.com
首页 >  
搜索关键字:largest    ( 1413个结果
[Leetcode] 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,...
分类:其他好文   时间:2014-10-24 18:14:41    阅读次数:180
【LeetCode刷题Java版】Maximum Product Subarray
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], the contiguous subarray [2,3] has the largest pr...
分类:编程语言   时间:2014-10-24 13:01:16    阅读次数:222
Maximum Product Subarray
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],the...
分类:其他好文   时间:2014-10-24 10:26:11    阅读次数:269
Uva--11324--The Largest Clique【有向图强连通分量+最大团】
链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=25&problem=2299&mosmsg=Submission+received+with+ID+14404690 题意:一个有向图,找一个最大的点集使得任意两点u、v间都存在一条路(单向或双向)...
分类:其他好文   时间:2014-10-23 16:25:21    阅读次数:205
HDU 2136 Largest prime factor
水题,晒一遍素数并标注就OK了。 #include #include #include #include #include #include #include #include #include #include #include #include #include #define INF 0x7fffffff #define eps 1e-8 #define LL long long...
分类:其他好文   时间:2014-10-23 12:33:57    阅读次数:136
[003] largest_subarray_with_equal_1&0
[Description] Given an array with only '1' and '0', find a largest length sub-array which contains equal number of '1' and '0'. Return the largest num...
分类:其他好文   时间:2014-10-22 20:14:33    阅读次数:209
LeetCode: Jump Game Total 解题报告
Maximum Product SubarrayFind the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given...
分类:其他好文   时间:2014-10-22 19:51:21    阅读次数:272
Maximum Product Subarray
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],the...
分类:其他好文   时间:2014-10-22 14:29:45    阅读次数:171
Maximum Product Subarray 最大连续乘积子集
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],the...
分类:其他好文   时间:2014-10-21 22:52:27    阅读次数:278
Maximal Rectangle
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.题意:在一个只有0、1的矩阵中找到一个面积最大的矩形,它内部所有的...
分类:其他好文   时间:2014-10-21 11:46:41    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!