
Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
You can traverse the buildings from the nearest to the ocean to the furthest.
Keep with you the maximum to the right while traversing to determine if you can see the ocean or not.