The Skyline Problem

    [LeetCode] 218. The Skyline Problem

    [LeetCode] 218. The Skyline Problem

    218. The Skyline Problem Hard A city's skyline is the outer contour of the silhouette formed by all the buildings in that city when viewed from a distance. Given the locations and heights of all the buildings, return the skyline formed by these buildings collectively. The geometric information of each building is given in the array buildings where buildings[i] = [lefti, righti, heighti]: lefti i..