Find the best day to buy and sell for maximum profit!
minPrice = prices[0] maxProfit = 0 for each day: if price < minPrice:
minPrice = price // Found cheaper buy day profit = price - minPrice if
profit > maxProfit: maxProfit = profit // Found better trade