摘要: public class S121 { public int maxProfit(int[] prices) { //TLE /* if(prices.length0;i--){ prices[i] = prices[i]-prices[i-1]; } for(int i = 1;iresult) ... 阅读全文
posted @ 2016-03-13 16:41 fisherinbox 阅读(192) 评论(0) 推荐(0) 编辑