码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
[Leetcode] Best Time to Buy and Sell Stock III
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-10-16 15:45:42    阅读次数:189
[Leetcode] Best Time to Buy and Sell Stock II
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-10-16 15:26:02    阅读次数:169
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. Determine i...
分类:其他好文   时间:2014-10-16 14:55:02    阅读次数:297
[Leetcode] 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 from the root node down to the farthest le...
分类:其他好文   时间:2014-10-16 06:33:22    阅读次数:238
leetcode:Maximum Depth of Binary Tree
# Definition for a binary tree node# class TreeNode:# def __init__(self, x):# self.val = x# self.left = None# self.right ...
分类:其他好文   时间:2014-10-16 03:27:21    阅读次数:162
1014------算法笔记----------Maximum Product Subarray 最大乘积子数组
1.题目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]...
分类:编程语言   时间:2014-10-15 19:29:41    阅读次数:228
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],t...
分类:其他好文   时间:2014-10-15 12:52:20    阅读次数:160
最大子序列积
最大子序列积问题?? leetcode Find the contiguous subarray within an array (containing at least one number) 线性时间算法...
分类:其他好文   时间:2014-10-13 23:44:27    阅读次数:254
meta viewport
如实例: width:viewport 的宽度,可以指定为一个像素值,如:600,或者为特殊的值,如:device-width(设备的宽度)。height:viewport的高度。initial-scale:初始缩放比例,即当浏览器第一次加载页面时的缩放比例。maximum-scale:允许浏览者缩...
分类:Web程序   时间:2014-10-13 18:17:21    阅读次数:275
POJ 2479-Maximum sum(线性dp)
Maximum sum Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 33918   Accepted: 10504 Description Given a set of n integers: A={a1, a2,..., an}, we define a fu...
分类:其他好文   时间:2014-10-13 13:28:49    阅读次数:177
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!