题目描述: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
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 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?bySANDOon02. OCT, 2012inMAGENTO,SMALL TIPSI had an odd white screen on one of my websites. No exce...
分类:
其他好文 时间:
2014-10-19 21:15:46
阅读次数:
189
//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 加新题了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
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
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
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
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