Mental Model
Choose the most activities that don't overlap by always picking the one that finishes earliest.
Analogy: Imagine you have a single meeting room and many meetings to schedule. To fit the most meetings, always pick the meeting that ends soonest so the room becomes free quickly for the next meeting.
Activities (start, end): [1, 4] [3, 5] [0, 6] [5, 7] [8, 9] [5, 9] Timeline: 0 -> 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9 Selected activities: [1,4] -> [5,7] -> [8,9]