Software Development Engineer Ii Interview Questions

2,268 software development engineer ii interview questions shared by candidates

Given an array of lockers (0 = empty, 1 = occupied), find the maximum distance to the nearest 1. Modify the problem to place k packages instead of one, maximizing the minimum distance. Follow-up: Optimize for O(1) space complexity and reduce O(n log n) sorting overhead.
avatar

Software Development Engineer (SDE) II

Interviewed at Amazon

3.5
Mar 10, 2025

Given an array of lockers (0 = empty, 1 = occupied), find the maximum distance to the nearest 1. Modify the problem to place k packages instead of one, maximizing the minimum distance. Follow-up: Optimize for O(1) space complexity and reduce O(n log n) sorting overhead.

In one DSA round I was asked a question based on BFS: Given a m x n matrix indicating a hospital and containing infected, uninfected and empty patient wards, find the minimum time required to infect all the patients.
avatar

Software Development Engineer (SDE) II

Interviewed at Amazon

3.5
Aug 24, 2025

In one DSA round I was asked a question based on BFS: Given a m x n matrix indicating a hospital and containing infected, uninfected and empty patient wards, find the minimum time required to infect all the patients.

- Phone screen: Variation of Meeting Rooms II - Round 1: Combination of Insert and Merge Intervals - Round 2: Min Stack - Round 3: Don’t recall, but it was a LC Easy/Medium - Round 4: System Design - Build a recommendation system based on users Amazon shopping history
avatar

Software Development Engineer (SDE) II

Interviewed at Amazon

3.5
Oct 12, 2025

- Phone screen: Variation of Meeting Rooms II - Round 1: Combination of Insert and Merge Intervals - Round 2: Min Stack - Round 3: Don’t recall, but it was a LC Easy/Medium - Round 4: System Design - Build a recommendation system based on users Amazon shopping history

Viewing 2141 - 2150 interview questions

Glassdoor has 2,268 interview questions and reports from Software development engineer ii interviews. Prepare for your interview. Get hired. Love your job.