码迷,mamicode.com
首页 >  
搜索关键字:largest    ( 1413个结果
368. Largest Divisible Subset
Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or ...
分类:其他好文   时间:2019-02-16 23:13:33    阅读次数:297
221. Maximal Square
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example: Approach #1: DP. [C++] Ana ...
分类:其他好文   时间:2019-02-15 22:41:36    阅读次数:219
152. Maximum Product Subarray
Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the largest product. Example 1: E ...
分类:其他好文   时间:2019-02-15 01:05:13    阅读次数:201
LeetCode-84-Largest Rectangle in Histogram
算法描述: 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 th ...
分类:其他好文   时间:2019-02-14 13:28:37    阅读次数:174
hdu2588-GCD-(欧拉函数+分解因子)
The greatest common divisor GCD(a,b) of two positive integers a and b,sometimes written (a,b),is the largest divisor common to a and b,For example,(1, ...
分类:其他好文   时间:2019-02-13 22:59:41    阅读次数:384
[Lintcode]184. Largest Number/[Leetcode]179. Largest Number
"184. Largest Number" / "179. Largest Number" 本题难度: Medium Topic: Greedy Description 184. Largest Number 中文English Given a list of non negative intege ...
分类:其他好文   时间:2019-02-10 20:33:56    阅读次数:172
19.2.8 [LeetCode 53] Maximum Subarray
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: Foll ...
分类:其他好文   时间:2019-02-08 18:36:30    阅读次数:153
LeetCode-152-Maximum Product Subarray
算法描述: Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the largest product. Exampl ...
分类:其他好文   时间:2019-02-07 12:07:44    阅读次数:187
#Leetcode# 215. Kth Largest Element in an Array
https://leetcode.com/problems/kth-largest-element-in-an-array/ Find the kth largest element in an unsorted array. Note that it is the kth largest elem ...
分类:其他好文   时间:2019-01-28 22:23:42    阅读次数:188
Largest Rectangle in a Histogram HDU - 1506 (单调栈)
A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may have different h ...
分类:其他好文   时间:2019-01-28 13:55:51    阅读次数:166
1413条   上一页 1 ... 14 15 16 17 18 ... 142 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!