码迷,mamicode.com
首页 >  
搜索关键字:largest    ( 1413个结果
LeetCode:Largest Number
1、题目名称 Largest Number(求整型数组中各元素可拼合成的最大数字) 2、题目地址 https://leetcode.com/problems/largest-number/ 3、题目内容 英文:Given a list of non negative integers, arrange them s...
分类:其他好文   时间:2015-08-08 18:32:33    阅读次数:174
(medium)LeetCode 221.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.For example, given the following matr...
分类:其他好文   时间:2015-08-08 14:52:24    阅读次数:102
UVA - 11324 The Largest Clique (DAG + 强连通分量)
题目大意:给出一张有向图G,求一个结点数最大的结点集,使得该点集中任意两个结点u和v满足: 要么u可到达v,要么v可以到达u(u和v互相可达也可以)解题思路:u和v相互可达的时候,就是两个结点在同一个强连通分量内的时候 首先要保证集合里面的点可达:强连通分量就满足集合内的点都相互可达。所以第一件事就是找出所有的强连通分量,并统计出每个强连通分量内的结点数然后找出每个强连通分量之间的关系,也就是找...
分类:其他好文   时间:2015-08-07 22:24:09    阅读次数:262
[leedcode 221] 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.For example, given the following matr...
分类:其他好文   时间:2015-08-07 21:54:10    阅读次数:116
[leedcode 215] Kth Largest Element in an Array
Find thekth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.For exampl...
分类:其他好文   时间:2015-08-06 22:09:52    阅读次数:120
HDU_1506_Largest Rectangle in a Histogram_dp
Largest Rectangle in a HistogramTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14177Accepted Subm...
分类:其他好文   时间:2015-08-06 13:14:41    阅读次数:93
LeetCode221——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. For example, given the following matrix: 1 0 1 0 0 1 0 1 1 1 1 1 1 1 1 1 0 0 1 0 ...
分类:其他好文   时间:2015-08-06 00:34:07    阅读次数:100
2136 Largest prime factor(打表)
Problem DescriptionEverybody knows any number can be combined by the prime number.Now, your task is telling me what position of the largest prime fact...
分类:其他好文   时间:2015-08-05 20:03:57    阅读次数:128
LeetCode:Largest Rectangle in Histogram(update)
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...
分类:其他好文   时间:2015-08-05 17:50:54    阅读次数:115
LeetCode#53 Maximum Subarray
Problem Difinition:Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the arr...
分类:其他好文   时间:2015-08-05 00:39:34    阅读次数:144
1413条   上一页 1 ... 80 81 82 83 84 ... 142 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!