DIY: The Skyline Problem
Explore how to analyze and solve the skyline problem by generating the outer city skyline from a list of buildings with given coordinates and heights. Learn to implement a solution in Java that outputs the skyline as a set of coordinates, improving your coding interview skills and understanding of problem-solving with real-world scenarios.
We'll cover the following...
We'll cover the following...
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 ...