码迷,mamicode.com
首页 >  
搜索关键字:one    ( 27922个结果
[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...
分类:其他好文   时间:2014-10-20 08:38:54    阅读次数:125
leetcode第22题--Merge k Sorted Lists
problem:Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.先合并两个list,再根据归并排序的方法递归合并。假设总共有k个list,每个list的最大...
分类:其他好文   时间:2014-10-20 02:00:03    阅读次数:197
Single Number i and ii
Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one.c++版:class Solution {public: int singleNumbe.....
分类:其他好文   时间:2014-10-19 23:00:35    阅读次数:260
Magento white screen or how XML can break your site?
Magento white screen or how XML can break your site?bySANDOon02. OCT, 2012inMAGENTO,SMALL TIPSI had an odd white screen on one of my websites. No exce...
分类:其他好文   时间:2014-10-19 21:15:46    阅读次数:189
Leetcode Plus One
//Given a non-negative number represented as an array of digits, plus one to the number.//The digits are stored such that the most significant digit i...
分类:其他好文   时间:2014-10-19 19:47:29    阅读次数:241
Leetcode | 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 ...
分类:其他好文   时间:2014-10-19 15:36:04    阅读次数:251
[Leetcode] Count and Say
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw...
分类:其他好文   时间:2014-10-19 05:50:58    阅读次数:147
POJ - 2481 Cows(树状数组)
Description Farmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his field is particularly good.  ...
分类:编程语言   时间:2014-10-19 00:08:59    阅读次数:331
LeetCode Best Time to Buy and Sell Stock
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他好文   时间:2014-10-18 22:14:23    阅读次数:151
sicily 1029. Rabbit
DescriptionThe rabbits have powerful reproduction ability. One pair of adult rabbits can give birth to one pair of kid rabbits every month. And after ...
分类:其他好文   时间:2014-10-18 18:19:12    阅读次数:291
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!