Fundamentals/Skyline problem
← PrevNext →
Given an array of buildings represented as [left, right, height], return the skyline as an array of [x, y] key points where the height changes.