- 博客(2)
- 收藏
- 关注
原创 [leetcode 122] Best Time to Buy and Sell Stock II
Quesiton: 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 as many transactions as you l
2016-01-13 22:56:23 363
原创 [leetcode 256] Paint House
Question: There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certain color is different. You have to paint
2016-01-13 21:36:41 1395
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人