Fundamentals
/
Skyline problem
⏸
00:00
↻
← Prev
Next →
▶
Question
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.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
2