finished Best Time to Buy and Sell Stocks III