Mental Model
Choose the maximum number of activities that don't overlap by always picking the earliest finishing activity first.
Analogy: Imagine scheduling meetings in one room. To fit the most meetings, always pick the meeting that ends soonest so the room becomes free earlier for the next meeting.
Activities: [start, end] [1, 4] -> [3, 5] -> [0, 6] -> [5, 7] -> [8, 9] -> [5, 9] βstart times sorted We pick activities so none overlap.
