Greedy Algorithms8 sections · 316 units
Open in CourseQuiz: Sort Order Choice
When to use which
Check Your Understanding
When should you sort intervals by end time instead of start time?
- A.When maximizing the number of non-overlapping intervals
- B.When counting overlaps at each point
- C.When finding the total covered length
- D.When merging overlapping intervals