add solution for best time to buy&sell stock iii