Least You Need to Know: Interval Scheduling and Earliest-Finish Greedy
Open lesson
For maximizing how many non-overlapping intervals you can keep, the standard greedy rule is to sort by earliest finishing time and repeatedly accept the next compatible interval. The reason is that earlier finishes preserve more room for future choices.