码迷,mamicode.com
首页 >  
搜索关键字:largest rectangular    ( 1806个结果
经典算法——连续子数组的最大乘积
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 s...
分类:编程语言   时间:2016-03-31 17:02:53    阅读次数:206
84. Largest Rectangle in Histogram *HARD* 柱状图求最大面积 85. Maximal Rectangle *HARD*
1. 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 h ...
分类:其他好文   时间:2016-03-30 22:07:01    阅读次数:145
lintcode-medium-Maximum Subarray II
Given an array of integers, find two non-overlapping subarrays which have the largest sum.The number in each subarray should be contiguous.Return the ...
分类:其他好文   时间:2016-03-30 14:34:53    阅读次数:173
UVA 1600
Description A robot has to patrol around a rectangular area which is in a form of mxn grid (m rows and n columns). The rows are labeled from 1 to m. T ...
分类:其他好文   时间:2016-03-30 09:57:30    阅读次数:191
lintcode-medium-Maximal Square
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. Example For example, given the follo ...
分类:其他好文   时间:2016-03-30 08:16:24    阅读次数:142
Sumsets(3sum问题,枚举d,c二分a+b)
Sumsets Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9997 Accepted: 2736 Description Given S, a set of integers, find the largest d such ...
分类:其他好文   时间:2016-03-28 21:31:37    阅读次数:213
openjudge 两道hash题目
给出平面上一些点的坐标,统计由这些点可以组成多少个正方形。注意:正方形的边不一定平行于坐标轴。 Given S, a set of integers, find the largest d such that a + b + c = d where a, b, c, and d are distin ...
分类:其他好文   时间:2016-03-28 08:47:46    阅读次数:281
[LeetCode][JavaScript]Maximum Subarray
Maximum Subarray Maximum Subarray Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example ...
分类:编程语言   时间:2016-03-27 23:55:18    阅读次数:252
poj2549--Sumsets (sum)
Sumsets Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9983 Accepted: 2731 Description Given S, a set of integers, find the largest d such ...
分类:其他好文   时间:2016-03-27 17:47:33    阅读次数:183
hdu 2985 The k-th Largest Group 树状数组求第K大
The k-th Largest Group Time Limit: 2000MS Memory Limit: 131072K Total Submissions: 8353 Accepted: 2712 Description Newman likes playing with cats. He ...
分类:编程语言   时间:2016-03-27 17:45:12    阅读次数:245
1806条   上一页 1 ... 83 84 85 86 87 ... 181 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!