DSA Factory
Curriculum
Level 3 · Structures

Intervals

About 10 steps, from the first idea to a mastery test.

  1. Stage 0Overlap and mergeFree
    1. 1Do they overlap?7 min
    2. 2Merge two8 min
    3. 3Merge a whole list12 min
    4. 4Insert into a sorted list12 min
  2. Stage 1Sweep lineFree
    1. 1How many rooms?18 min
    2. 2The busiest moment20 min
    3. 3Total time covered18 min
    4. 4Does the car pool fit?20 min
  3. Stage 2MasteryFree
    1. 1Remove covered ranges20 min
    2. 2Shared time of two schedules22 min
Start freeTry a step first