Concept Flow - Activity Selection Problem
Sort activities by finish time
Select first activity
For each next activity
If start time >= last selected finish
Select activity
Repeat until all activities checked
Return selected activities
Sort activities by finish time, then pick the earliest finishing activity that doesn't overlap with previously selected ones.
