Mental Model
We want to find the best times to buy and sell stocks to maximize profit by looking at price changes over days.
Analogy: Imagine you are at a fruit market where prices change daily. You want to buy fruit at the lowest price and sell it later at a higher price to earn the most money.
Day: 0 1 2 3 4 5 Price: 100 -> 180 -> 260 -> 310 -> 40 -> 535 Buy at low price and sell at high price later.
