add Best Time to Buy and Sell Stock II (not working solution)