Maximum Subarray Given an array of integers, find a contiguous subarray which has the largest sum. Notice The subarray should contain at least one num ...
分类:
其他好文 时间:
2016-07-06 11:54:26
阅读次数:
242
http://www.practice.geeksforgeeks.org/problem-page.php?pid=380 Largest Number formed from an Array Given a list of non negative integers, arrange them ...
分类:
其他好文 时间:
2016-07-06 09:53:26
阅读次数:
195
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 ...
分类:
编程语言 时间:
2016-07-04 17:07:45
阅读次数:
140
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],t ...
分类:
编程语言 时间:
2016-07-03 21:15:16
阅读次数:
176
Given an array of integers, find two non-overlapping subarrays which have the largest sum. The number in each subarray should be contiguous. Return th ...
分类:
其他好文 时间:
2016-07-02 17:33:10
阅读次数:
137
Given an array of integers and a number k, find k non-overlapping subarrays which have the largest sum. The number in each subarray should be contiguo ...
分类:
其他好文 时间:
2016-07-02 17:30:12
阅读次数:
162
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. For example, given the following mat ...
分类:
编程语言 时间:
2016-07-02 15:49:17
阅读次数:
141
Rectangular Polygon Time Limit: 1000MS Memory Limit: 256000KB 64bit IO Format: %lld & %llu Description A rectangular polygon is a polygon whose edges ...
分类:
其他好文 时间:
2016-07-01 22:53:10
阅读次数:
234
Find the contiguous subarray within an array (containing at least one number) which has the largest product. Example For example, given the array [2,3 ...
分类:
其他好文 时间:
2016-07-01 06:45:49
阅读次数:
307