The Skyline Problem — Difference Array & Sweep
Compute the outline formed by overlapping rectangles of varying heights along a time axis, listing only the points where the height changes.
Difference Array & Sweep · Hard
Compute the outline formed by overlapping rectangles of varying heights along a time axis, listing only the points where the height changes.
Difference Array & Sweep · Hard