Back to QuestionsPractice with This Question
The Skyline Problem
30.7K views•Asked at Stripe•
Hard
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
Practice answering orally or with text to get instant AI feedback.