~/problems
Problems
Basics first, then the classics, then company-style assessments. Every problem has tests you run right here; multi-level ones unlock as you go. See the roadmap.
Interview roadmap
Intervals
Merge, insert and sweep over ranges.
15 problems
Interview roadmap
Intervals Merge, insert and sweep over ranges.
- Play first: The Waves 1-minute game Merge intervals
- Do any meetings overlap? basics py · c++ · java easy
- Longest stretch with the shop open py · c++ · java easy
- Merge Intervals code the boss Roblox py · c++ · java medium
- Insert Interval py · c++ · java medium
- Meeting Rooms II ▶ boss game py · c++ · java medium
- Car Pooling py · c++ · java medium
- Minimum Interval to Include Each Query py · c++ · java hard
- Design a meeting scheduler assessment 2 levels AmazonUber py · c++ · java medium
More practice: 7 problems
- Punch one point out of a run of ranges Databricks py · c++ · java easy
- The first gap everyone shares Citadel py · c++ · java easy
- Interval List Intersections py · c++ · java medium
- Find restaurant intervals Pinterest py · c++ · java medium
- Split stays Airbnb py · c++ · java medium
- Shard rebalance with an overlap limit assessment 3 levels OpenAI py · c++ · java medium
- Worker hours, promotions and double pay assessment 4 levels Anthropic py · c++ · java medium