Mental Model
We want to cut a rod into pieces to get the most money by selling those pieces. Each piece length has a price, and we try all cuts to find the best total price.
Analogy: Imagine you have a chocolate bar and a price list for each piece size. You want to break the bar into smaller pieces to sell and get the most money possible.
Rod length: 4 units Prices: [1, 5, 8, 9] Rod: 1 -> 2 -> 3 -> 4 -> null Try cuts at each position to maximize total price.