Back to Question
The Skyline Problem
Question Explain
Given the locations and heights of all buildings, output the skyline formed by these buildings. This is a sweep-line algorithm problem, typically solved with a Priority Queue.
Start Trying This Question Simulation
Click "Start Speaking" and answer the question naturally.