LeetCode 986: Interval List Intersections
A clear explanation of finding intersections between two sorted disjoint interval lists using two pointers.
17 notes
A clear explanation of finding intersections between two sorted disjoint interval lists using two pointers.
A clear explanation of finding common free time by merging all employee busy intervals and returning the gaps.
A clear explanation of marking matching substrings and merging overlapping bold ranges.
A clear explanation of solving interval intersection constraints using greedy sorting and minimal point selection.
Track the maximum number of overlapping calendar events using a sweep line difference map.
Allow double bookings but reject triple bookings using overlap interval tracking.
Implement a calendar that accepts a booking only when it does not overlap with any existing booking.
Simulate falling squares on a number line and track the maximum stack height after each placement.
A clear explanation of calculating total poisoned duration by merging overlapping attack intervals.
A clear explanation of the greedy interval solution for finding the minimum number of arrows needed to burst all balloons.
Find, for each interval, the interval with the smallest start point greater than or equal to its end point using sorting and binary search.
Remove the minimum number of intervals so the remaining intervals do not overlap, using greedy sorting by end time.
A clear explanation of maintaining disjoint sorted intervals from a stream using insertion and merging.
A clear explanation of the Meeting Rooms II problem using a min heap to track active meeting end times.
A clear explanation of the Meeting Rooms problem using interval sorting to detect overlaps.
A clear guide to solving Insert Interval with one linear scan over sorted, non-overlapping intervals.
A clear guide to solving Merge Intervals by sorting intervals and merging them in one pass.