Back to Questions

The Skyline Problem

30.7K viewsAsked 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.

Practice with This Question
The Skyline Problem - Interview Question