摘要: 问题: 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 transactions. 依旧还是那个熟悉的味道,如... 阅读全文
posted @ 2014-10-11 22:42 苍枫露雨 阅读(486) 评论(0) 推荐(0) 编辑