题目: 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 form ...
分类:
编程语言 时间:
2017-07-01 11:49:49
阅读次数:
175
题目链接: http://poj.org/problem?id=2194 题目描述: Stacking Cylinders Description Cylinders (e.g. oil drums) (of radius 1 foot) are stacked in a rectangular b ...
分类:
其他好文 时间:
2017-06-30 19:58:37
阅读次数:
258
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 n ...
分类:
其他好文 时间:
2017-06-30 15:44:10
阅读次数:
161
Maximal Square Total Accepted: 1312 Total Submissions: 6388 Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1 ...
分类:
其他好文 时间:
2017-06-26 19:08:38
阅读次数:
142
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 hist ...
分类:
其他好文 时间:
2017-06-23 23:48:06
阅读次数:
223
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. PS:将其化解为柱状图求最大体积的问题。先用动态规划的思路,将矩 ...
分类:
其他好文 时间:
2017-06-23 23:44:45
阅读次数:
160
1730: [Usaco2005 dec]Barn Expansion 牛棚扩张 Description Farmer John has N (1 <= N <= 25,000) rectangular barns on his farm, all with sides parallel to th ...
分类:
其他好文 时间:
2017-06-21 22:56:47
阅读次数:
225
题目: 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 form ...
分类:
其他好文 时间:
2017-06-21 21:15:58
阅读次数:
197
昨天看岛娘直播解题,看到很经典的一题Largest Rectangle in Histogram 题目地址:https://leetcode.com/problems/largest-rectangle-in-histogram/#/description 解法: 从左向右扫描矩形柱,当右边高于左边 ...
分类:
其他好文 时间:
2017-06-20 18:12:00
阅读次数:
137
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. For exam ...
分类:
其他好文 时间:
2017-06-19 14:23:58
阅读次数:
201