leetcode Best Time to Buy and Sell Stock - add a link to a reference.[C