码迷,mamicode.com
首页 >  
搜索关键字:gready    ( 2个结果
【leetcode】209. Minimum Size Subarray Sum
leetcode minimum size subarray sum...
分类:其他好文   时间:2015-08-11 18:48:33    阅读次数:126
[LeetCode]122 Best Time to Buy and Sell Stock II
https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/http://blog.csdn.net/linhuanmars/article/details/23164149publicclassSolution{ publicintmaxProfit(int[]prices){ //Ifasmanytransactions //Gready intpro=0; intbuy=0; booleanhold=false; int..
分类:其他好文   时间:2015-01-06 18:13:23    阅读次数:132
2条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!