Mental Model
We combine intervals that touch or overlap into one bigger interval so no two intervals cover the same range twice.
Analogy: Imagine you have several booked time slots on a calendar. If some bookings overlap or touch, you merge them into one longer booking to avoid confusion.
Intervals before merge: [1,3] -> [2,6] -> [8,10] -> [15,18] Intervals after merge: [1,6] -> [8,10] -> [15,18]
