LeetCode Best Time to Buy and Sell Stock 2.