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 very large,...
分类:
其他好文 时间:
2015-06-11 13:00:44
阅读次数:
109
Maximum Subarray IIIGiven an array of integers and a numberk, find knon-overlappingsubarrays which have the largest sum.The number in each subarray sh...
分类:
其他好文 时间:
2015-06-10 19:19:20
阅读次数:
170
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 examp...
分类:
编程语言 时间:
2015-06-09 23:30:58
阅读次数:
237
No.179 Largest NumberGiven a list of non negative integers, arrange them such that they form the largest number.For example, given[3, 30, 34, 5, 9], t...
分类:
其他好文 时间:
2015-06-09 23:18:19
阅读次数:
122
题目链接 题目要求: 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 ...
分类:
其他好文 时间:
2015-06-09 21:20:57
阅读次数:
76
Well, this problem is designed for radix sort. For more information about radix sort, Introduction to Algorithms, 3rd edition has some nice examples.H...
分类:
其他好文 时间:
2015-06-09 19:48:48
阅读次数:
120
Description
You are given a number of case-sensitive strings of alphabetic characters, find the largest string X, such that either X, or its inverse can be found as a substring of any of the given ...
分类:
编程语言 时间:
2015-06-08 15:03:25
阅读次数:
125
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,?5,4],
the contiguous subarray [4,?1,2,1] has the...
分类:
其他好文 时间:
2015-06-08 11:44:36
阅读次数:
114
Problem: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 follow...
分类:
其他好文 时间:
2015-06-07 23:31:41
阅读次数:
123
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 matr...
分类:
其他好文 时间:
2015-06-07 14:34:37
阅读次数:
198