AlgoMaster Logo

The Skyline Problem

buildings=[[2,9,10],[3,7,15],[5,12,12],[15,20,10],[19,24,8]]
0 / 44
2468101214161820222403691215h=10h=15h=12h=10h=8Heights: {0: 1}prevMax: 0 | currentMax: 0
Result:[]
algomaster.io
Step:Find the skyline outline from building silhouettes