Problem 1762 · Medium

Buildings With an Ocean View

Find building indices with an unobstructed view of the ocean to the right.

Open the interactive visualisation