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

More in Difference Array & Sweep

All algorithm problems