[LC] Added solution to best time to buy and sell stock 3.