Sde Interview Questions

16,638 sde 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.

First, round was on problem solving, and had puzzle and math problems. Second round was a lengthy round behavioural and history. Third round was design round in addition to previous projects done. Fourth was a HR and behavioral combined. Overall difficulty from my perspective is from Average to Difficult.
avatar

SDE 2

Interviewed at Chalo (India)

3.6
May 2, 2022

First, round was on problem solving, and had puzzle and math problems. Second round was a lengthy round behavioural and history. Third round was design round in addition to previous projects done. Fourth was a HR and behavioral combined. Overall difficulty from my perspective is from Average to Difficult.

Viewing 1281 - 1290 interview questions

Glassdoor has 16,638 interview questions and reports from Sde interviews. Prepare for your interview. Get hired. Love your job.