Available question text
Given a sorted list of non-overlapping intervals and a target interval to remove, return the resulting intervals after subtracting the target from each input interval. The core challenge is correctly handling no overlap, partial overlaps (trimming interval ends), and full containment (splitting an interval into up to two pieces).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Meta
Leetcode 1272. Remove Interval
Reported Apr 29, 2026 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View source