~/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.
14 problems
Interview roadmap
Intervals Merge, insert and sweep over ranges.
- Basics: do any meetings overlap? basics py · c++ · java easy
- Longest stretch with the shop open py · c++ · java easy
- Merge Intervals Roblox py · c++ · java easy
- Insert Interval py · c++ · java medium
- Meeting Rooms II py · c++ · java medium
- Worker hours, promotions and double pay 4 levels Anthropic py · c++ · java medium
- Shard rebalance with an overlap limit 3 levels OpenAI medium
- Split stays Airbnb py · c++ · java medium
- The first gap everyone shares Citadel py · c++ · java easy
- Punch one point out of a run of ranges Databricks easy
- Find restaurant intervals Pinterest py · c++ · java medium
- Design a meeting scheduler 2 levels AmazonUber py · c++ · java medium
- Minimum Interval to Include Each Query py · c++ · java hard
- Car Pooling py · c++ · java medium