← OYO questions

Maximum height among buildings inside specified rectangles

Filed under OYO

Given a list of 2D coordinates and heights for buildings, and a set of query rectangles formed between the fixed origin point (1, 1) and query coordinates (X, Y), find the maximum height among all…

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 OYO questions

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