码迷,mamicode.com
首页 >  
搜索关键字:subarray    ( 846个结果
53. Maximum Subarray
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,...
分类:其他好文   时间:2015-06-25 10:17:54    阅读次数:133
LeetCode152:Maximum Product Subarray
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], the contiguous subarray [2,3] has the largest produ...
分类:其他好文   时间:2015-06-23 23:15:40    阅读次数:144
leetcode | Maximum Subarray 最大连续子序列的和
Maximum Subarray: https://leetcode.com/problems/maximum-subarray/ Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [...
分类:其他好文   时间:2015-06-23 13:40:52    阅读次数:145
LeetCode53:Maximum Subarray
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] ha...
分类:其他好文   时间:2015-06-23 11:55:55    阅读次数:176
Minimum Size Subarray Sum
https://leetcode.com/problems/minimum-size-subarray-sum/Given an array ofnpositive integers and a positive integers, find the minimal length of a suba...
分类:其他好文   时间:2015-06-20 18:26:47    阅读次数:130
【LeetCode 209】Minimum Size Subarray Sum
Given an array ofnpositive integers and a positive integers, find the minimal length of a subarray of which the sum ≥s. If there isn't one, return 0 i...
分类:其他好文   时间:2015-06-18 18:47:04    阅读次数:98
Maximum Product Subarray -- leetcode
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], the contiguous subarray [2,3] has the largest ...
分类:其他好文   时间:2015-06-14 13:50:36    阅读次数:91
LeetCode之“动态规划”:Maximum Product Subarray
题目链接 题目要求: Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the ar...
分类:其他好文   时间:2015-06-12 11:29:03    阅读次数:100
LeetCode之“动态规划”:Maximum Subarray
题目链接 题目要求: Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array[...
分类:其他好文   时间:2015-06-11 21:13:17    阅读次数:105
[LintCode] Maximum Subarray III
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
846条   上一页 1 ... 60 61 62 63 64 ... 85 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!