码迷,mamicode.com
首页 >  
搜索关键字:maximum subsequence    ( 5146个结果)
[leetcode]Jump Game
问题描述: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Dete...
分类:其他好文   时间:2014-11-19 11:16:51    阅读次数:145
Maximum Product Subarray
Dynamic ProgrammingFind the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the ...
分类:其他好文   时间:2014-11-19 10:32:17    阅读次数:175
[Leetcode][JAVA] Binary Tree Maximum Path Sum
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:编程语言   时间:2014-11-19 07:13:48    阅读次数:206
uva 10069
Problem EDistinct SubsequencesInput:standard inputOutput:standard outputA subsequence of a given sequence is just the given sequence with some element...
分类:其他好文   时间:2014-11-19 07:05:32    阅读次数:224
[leetcode]Jump Game
问题描述: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Dete...
分类:其他好文   时间:2014-11-19 01:17:42    阅读次数:177
OpenCV Tutorials —— Laplace Operator
发掘图像边界 —— 一阶导数顶点不好求,可用二阶导数过零点来代替 Getting the first derivative of the intensity, we observed that an edge is characterized by a maximum, as it can be s...
分类:其他好文   时间:2014-11-18 23:55:21    阅读次数:286
POJ 2533-Longest Ordered Subsequence(DP)
Longest Ordered Subsequence Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 34454   Accepted: 15135 Description A numeric sequence of ai is ordered if a1 a2 ...
分类:其他好文   时间:2014-11-16 18:41:55    阅读次数:202
[leetcode] 8. Maximum Depth of Binary Tree
可能是因为我是按难度顺序刷的原因,这个其实在之前的几道题里面已经写过了。题目如下: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path...
分类:其他好文   时间:2014-11-15 21:31:17    阅读次数:194
最大似然估计(Maximum Likelihood Estimation)
本文对于最大似然估计的算法进行了一个简要的讨论总结。...
分类:其他好文   时间:2014-11-15 18:59:07    阅读次数:205
两道关于binary tree的水题 [Same Tree] [Maximum Depth of Binary Tree]
Same TreeGiven two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally ide...
分类:其他好文   时间:2014-11-15 11:13:11    阅读次数:171
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!