Given buildings as [left, right, height], return the skyline formed by them: a list of key points [x, height] sorted by x, where each key point is the left end of a horizontal segment. The last point…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.