Amazon SDE II interview | Seattle

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-03-05Added By Anonymous
Source: Link

Hi Everyone, I get a lot of help for interview prep from this forum so here to give some back.


I Interviewed for Amazon SDE II role on Monday.


•First Round: Problem solving:

I did not see this question on leetcode. It was something like- You are given n numbers and have you have to find the value of m and n such that you can make a grid of equal size or the next closest value. So if n is 5, a grid of 2,2(3,2 is not valid) is valid and if n is 4 then 2,2 is the valid answer.


I was able to complete it, there were some followups. The interviewer agreed with my solution. Said "perfect".

•Second round: System design : Design a url shortner service

I was thrilled to have gotten this but the interviewer was not very interactive. I had to pause again and again to ask questions and make the effort to make it conversational(as my recruiter said treat this round as you are talking to a customer). Not to judge but it was like i was talking to a machine

he did throw a question, which was: how I was going to be generating URLS. "What strategy?" I told him I would assign ranges to servers to create hashes, did not seem convinced.


So make sure you have multiple strategies for such type of questions.

•DSA/Algorithms

I did make a little bit of mess in this one. I understood the problem but was not very clear in letting the interviewer know my approach. I did this correctly with dfs, but interviewer said it would be better with BFS(which it was).


This was the question asked: https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination/description/

•LLD
•Design APIs(as in class and objects) for alexa which would take a string as input, match it up against rules and perform validations.

While it was a very doable round and my interviewer said my approach is correct and she understands it I had only around 15-20 mins for this as most of the time went in LPs.


Verdict -> Rejected


•I got the feedback that I did not meet the coding bar in any of these rounds. I was a bit surprised but this was the feedback.
•Make sure that you keep your LPs calculatively short, because they always ask followups and it chews up your coding time. Keep LPs conscise.
•Enjoy it!



Comments