Week 5 · Day 32 of 42

Greedy: Interval Scheduling

Sort intervals by end time. Greedily pick the earliest-finishing non-overlapping interval.

Checking access

Spotted a mistake on this page?

Wrong formula, broken animation or confusing wording. Tell us and we will fix it.