← Zomato questions
CodingHardReported in a candidate post, Jul 2025

The Skyline Problem

Filed under Zomato

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.

Related Zomato questions

Collected from public candidate posts and coding forums. Updated Nov 2026.