Solved BestTimeToBuyAndSellStock