I have appeared for the Amazon interviews for SDE-2 role recently, sharing my rounds, hoping it might help others.
R1: HLD
- Leadership questions like what you did for your team which is extraordinary in your opinion
- Design Amazon Lockers ie. users can opt for locker for their order delivery instead of any address.
R2: Coding Round
- Leadership question ( don't remember what was that)
- Given a 2D grid, every cell has a value which is the amount of gold, you can go only one cell at a time to right, digonally right-up, diagonally right-down, you can only start from left most column and you have to reach to right most column, print all the paths with max amount of gold along the path. (follow up question optimize it)
- Given a BST, print all the nodes in decreasing order (I know this was easy, I did just the inorder traversal) , follow up question do this without recursion.
R3: LLD
- Again some leadership question: tell me one time when you did something with your prior knowledge means without studying anything new.
- A super classy and difficult one: Design an Elevator implement classes (not the logic of the methods), how and what to expose to user etc.
follow up question: implement elevator request scheduling based on priority.
R4: Bar Raiser
- Leadership: tell me one time when you did something which was not inline with organization standards and why?
- some more leadership questions, sorry don't remember them
- Print the Bottom View of a Binary Tree.
I could able to clear all the rounds and received the offer. I think I was lucky to face these questions which I think are pretty standard and easy questions.
Good luck, practice hard.