Merge Intervals
Merge all overlapping intervals Intervals [1,4] and [4,5] are considered overlapping Example: [[1,3],[2,6],[8,10],[15,18]] => [[1,6],[8,10],[15,18]]
This one is all about overlap reasoning and clean boundary handling. Interviewers love it because it reveals your overlap reasoning and your edge-case discipline. Be precise about inclusive/exclusive boundaries; that's what interviewers poke at.

Meet Coco
Coco is an AI study partner, not a person. She listens while you explain your code, asks what a line does and never hands you the fix. Sign in free to type with Coco, up to a daily limit, and to talk with her for one hour. After that, talking comes with the $79 pack. Anyone can open the editor and run their code.
Prep guides that list this problem
Our company tags come from public interview write-ups. None of these is a confirmed question.