码迷,mamicode.com
首页 >  
搜索关键字:largest    ( 1413个结果
leetcode[84]Largest Rectangle in Histogram
Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog...
分类:其他好文   时间:2015-02-09 15:47:14    阅读次数:174
leetcode[85]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.class Solution {public:int larges...
分类:其他好文   时间:2015-02-09 15:29:48    阅读次数:125
[leed code 179] Larges Number
1 题目Given a list of non negative integers, arrange them such that they form the largest number.For example, given[3, 30, 34, 5, 9], the largest formed...
分类:其他好文   时间:2015-02-09 00:43:28    阅读次数:173
leetcode[152]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...
分类:其他好文   时间:2015-02-09 00:42:25    阅读次数:216
leetcode[179]Largest Number
Given a list of non negative integers, arrange them such that they form the largest number.For example, given[3, 30, 34, 5, 9], the largest formed num...
分类:其他好文   时间:2015-02-09 00:37:33    阅读次数:218
C++]LeetCode: 133 Largest Rectangle in Histogram(最大矩形面积)
题目: Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram. Above is a histogram where ...
分类:编程语言   时间:2015-02-05 09:41:47    阅读次数:206
Leetcode: Largest Number
Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330. Note: The result may be ve...
分类:其他好文   时间:2015-02-04 23:30:48    阅读次数:420
53.Maximum Subarray(法1线性扫面法2分治法)
Find the contiguous subarray within an array (containing at least onenumber) which has the largest sum. For example, given the array [?2,1,?3,4,?1,2,1,?5,4], the contiguous subarray [4,?1,2,1] has t...
分类:其他好文   时间:2015-02-02 23:16:28    阅读次数:368
【leetcode】Largest Number
Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330. Note: The result may be ve...
分类:其他好文   时间:2015-02-01 20:28:26    阅读次数:174
(hdu step 2.1.3)Largest prime factor(求一个数的最大质因子的位置)
题目:       Largest prime factorTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4868 Accepted Submission(s): 1452 Problem DescriptionEverybody knows ...
分类:其他好文   时间:2015-01-30 21:08:12    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!