DIY: Find Interval Sets

Solve the interview question "Find Interval Sets" in this lesson.

Problem statement

You are given a list of intervals, and you have to organize them into sets such that only one interval can occupy a set at a time. Your job is to find the ...