├─┤

Intervals

Merge, insert, intersect, and schedule intervals. Sorting by start/end and sweep line techniques.

Start Practice

IntervalsBeginnerIntermediateAdvancedQuestions: 1–5

Choose mode, difficulty & questions on the next screen

What You'll Practice (4 techniques)

Sort by startMerge overlappingSweep lineMeeting rooms

Prerequisites

Sorting
Arrays

Difficulty Levels

Beginner

Core pattern recognition, fundamental approach.

Intermediate

Pattern variations, edge cases, optimization.

Advanced

Complex combinations, merge multiple patterns.

More DSA Patterns