码迷,mamicode.com
首页 >  
搜索关键字:most    ( 3834个结果
Leetcode--Best Time to Buy and Sell Stock III
Problem Description: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete at most two transa...
分类:其他好文   时间:2014-06-05 09:33:52    阅读次数:342
LeetCode: Plus One [067]
【题目】 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 is at the head of the list. 【题意】 给定一个非负整数,这个表示为一个数字数组。计算这个整数加1后的值。 【思路】 从低位到高位依次相加,注意处理进...
分类:其他好文   时间:2014-06-05 01:24:44    阅读次数:250
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 is at...
分类:其他好文   时间:2014-06-04 19:19:52    阅读次数:185
LeetCode: Remove Duplicates from Sorted Array II [080]
【题目】 Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array A = [1,1,1,2,2,3], Your function should return length = 5, and A is now [1,1,2,2,3]. 【题意】 给定一个有序数组,给数组去重,和Remove Duplicates from...
分类:其他好文   时间:2014-06-03 05:36:24    阅读次数:219
UVA 540(队列)
Description   Team Queue  Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, though ...
分类:其他好文   时间:2014-06-03 04:45:44    阅读次数:288
TI_DSP_corePac_带宽管理 - 1.2(仲裁寄存器default值)
仲裁寄存器default值: The default values of CPUARB, IDMAARB, SDMAARB, and UCARB are sufficient for most applications. These registers define priorities that are internal to the C66x CorePac. The MDMAARBU...
分类:其他好文   时间:2014-06-03 03:53:28    阅读次数:239
Selenium错误:selenium.common.exceptions.WebDriverException: Message: "Can't load the profile.
错误描述:在python代码中通过selenium来初始化一个firefox浏览器失败,看了下selenium的版本是2.35,然后用firefox --version看了下是28.0,firefox好像不听话自动升级了导致了旧版selenium不支持。 Traceback (most recent call last):   File "C:\Python27\erSiteCompare.p...
分类:Web程序   时间:2014-06-02 22:31:07    阅读次数:611
Performance Tuning of Spring/Hibernate Applications---reference
http://java.dzone.com/articles/performance-tuningFor most typical Spring/Hibernate enterprise applications, the application performance depends almost...
分类:移动开发   时间:2014-05-31 16:53:03    阅读次数:404
poj 1011 Sticks
DescriptionGeorge took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to ...
分类:其他好文   时间:2014-05-30 23:00:32    阅读次数:395
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-05-30 16:30:00    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!