DIY: The Skyline Problem

Solve the interview question "The Skyline Problem" in this lesson.

Problem statement

Given a buildings list, you have to draw the skyline of the outer contour of the city. The citys’ skyline is formed by the silhouette of all of its buildings. Each building in this buildingslist consists of the following ...

Access this course and 1400+ top-rated courses and projects.