Implement `maxProfit(prices)` returning the maximum profit from one buy followed by one later sell, or `0` if no profit is possible.
+ 1 hidden test run on Submit.
A single pass tracking the running minimum gives the best profit in O(n) time.
Run your code to see results.