problem:https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/
tips:
stock price should not be 0,but here in this problem it could be 0.
price could remain the same for several days and then rise, it should be taken into consideration.
pay attention to boundary.