码迷,mamicode.com
首页 >  
搜索关键字:within    ( 1403个结果
【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 array[2,3,-2,4],the...
分类:其他好文   时间:2014-09-25 15:11:49    阅读次数:209
Maximum Product Subarray JAVA实现
题目描述: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,...
分类:编程语言   时间:2014-09-25 13:26:28    阅读次数:281
Leetcode | Roman to Integer & Integer to Roman
Roman to IntegerGiven a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.搜了一下,才知道这道题可以写这么简洁。 1 class ...
分类:其他好文   时间:2014-09-22 23:17:03    阅读次数:195
[leetcode] Integer to Roman @ Python
题目: https://oj.leetcode.com/problems/integer-to-roman/Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from ...
分类:编程语言   时间:2014-09-17 06:46:11    阅读次数:285
[leetcode] Roman to Integer @ Python
题目:https://oj.leetcode.com/problems/roman-to-integer/Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1...
分类:编程语言   时间:2014-09-17 06:45:51    阅读次数:269
Integer to Roman
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.普及一下罗马计数法The baseI- 1V- 5X- 10L- 50C- 100D- ...
分类:其他好文   时间:2014-09-15 22:44:19    阅读次数:232
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[?2,1,?3,4,?1,2,1,...
分类:其他好文   时间:2014-09-15 15:46:19    阅读次数:183
CodeCombat多人游戏Greed
题目的意思在于,更高效的Collect Gold;然后合理的安排生产出来的士兵;我对战的是简单的电脑// This code runs once per frame. Build units and command peasants!// Destroy the ogre base within 1...
分类:其他好文   时间:2014-09-14 11:15:06    阅读次数:357
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 [?2,1,?3,4,?1,2,1...
分类:其他好文   时间:2014-09-12 14:45:53    阅读次数:213
LeetCode:Roman to Integer
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999. 罗马数字有如下符号:罗马字符: I V X L C D M对应数字...
分类:其他好文   时间:2014-09-11 22:07:42    阅读次数:271
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!