码迷,mamicode.com
首页 >  
搜索关键字:largest    ( 1413个结果
41. Maximum Subarray
Description Given an array of integers, find a contiguous subarray which has the largest sum. Given an array of integers, find a contiguous subarray w ...
分类:其他好文   时间:2018-05-22 22:05:05    阅读次数:136
Just h-index 2018湘潭邀请赛
标签: 可持久化线段树 题目描述 The h index of an author is the largest h where he has at least h papers with citations not less than h . Bobo has published n papers ...
分类:其他好文   时间:2018-05-19 00:42:41    阅读次数:358
[题解]2018湘潭邀请赛
A.Easy h-index 题目描述 The h-index of an author is the largest h where he has at least h papers with citations not less than h.Bobo has published many pa ...
分类:其他好文   时间:2018-05-19 00:13:35    阅读次数:552
leetcode-747-Largest Number At Least Twice of Others(求vector的最大值和次大值)
题目描述: In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as m ...
分类:其他好文   时间:2018-05-15 01:45:02    阅读次数:135
LeetCode第[53]题(Java):Maximum Subarray
题目:和最大的子序列 难度:Medium 题目内容: Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and re ...
分类:编程语言   时间:2018-05-13 00:37:58    阅读次数:311
poj 3494 Largest Submatrix of All 1’s
Largest Submatrix of All 1’s Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 7700 Accepted: 2779 Case Time Limit: 2000MS Description Given ...
分类:其他好文   时间:2018-05-10 21:50:50    阅读次数:164
747. Largest Number At Least Twice of Others
https://leetcode.com/problems/largest-number-at-least-twice-of-others/description/ ...
分类:其他好文   时间:2018-05-01 14:11:46    阅读次数:144
179. Largest Number
该题解决方法是排序,我们只需要对两个数的对比方法进行改写就好了。改写思路为两个字符串 a 和 b, 如果 a + b 小于 b + a, 那么就交换位置。 代码如下: END ...
分类:其他好文   时间:2018-04-28 14:35:36    阅读次数:139
515 Find Largest Value in Each Tree Row 在每个树行中找最大值
在二叉树的每一行中找到最大的值。示例:输入: 1 / \ 3 2 / \ \ 5 3 9 输出: [1, 3, 9] 详见:https://leetcode.com/problems/find-largest-value-in-each-tree-row/description/ C++: ...
分类:其他好文   时间:2018-04-22 17:18:43    阅读次数:135
747. Largest Number At Least Twice of Others比所有数字都大两倍的最大数
[抄题]: In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as m ...
分类:其他好文   时间:2018-04-22 10:48:54    阅读次数:188
1413条   上一页 1 ... 25 26 27 28 29 ... 142 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!