Mental Model
We add a new time slot into a list of sorted time slots, merging any that overlap to keep the list neat and ordered.
Analogy: Imagine you have a schedule with booked meeting times sorted by start time. You want to add a new meeting. If it overlaps with existing meetings, you merge them into one longer meeting to avoid conflicts.
Intervals: [1,3] -> [6,9] -> null Insert: [2,5] Goal: merge overlapping intervals and keep order
