Cisco interview question

Using Python to code "Best time to buy or sell stock"