update best time to buy and sell sotck iii solution;