Software Engineer 1 Interview Questions

3,915 software engineer 1 interview questions shared by candidates

Interview Question: Buildings With an Ocean View (LeetCode 1762). Given an array of building heights, identify the indices of buildings that have an unobstructed view of the ocean to their right. A building has a view if it is strictly taller than all buildings to its right.
avatar

SDE 1

Interviewed at Amazon

3.5
Mar 23, 2026

Interview Question: Buildings With an Ocean View (LeetCode 1762). Given an array of building heights, identify the indices of buildings that have an unobstructed view of the ocean to their right. A building has a view if it is strictly taller than all buildings to its right.

Viewing 571 - 580 interview questions

Glassdoor has 3,915 interview questions and reports from Software engineer 1 interviews. Prepare for your interview. Get hired. Love your job.