← Meta questions
CodingMediumReported in a candidate post, Nov 2025

Ocean View Buildings

Filed under Meta

There are n buildings in a line. You are given an integer array heights of size n representing the height of each building. The ocean is to the right of the buildings. A building has an ocean view if…

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

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