Edit: I was downlevelled to SDE-1 and rejected the offer as it was way below what I have currently.
Experience: 6 YOE
Application: Got referred by a friend.
Total interview process took around 1.5 months.
Following are the steps for the interviews
OA:
Got 2 questions, solved 2.
https://leetcode.com/discuss/interview-question/1802061/Amazon-SDE2-OA
https://leetcode.com/discuss/interview-question/1546673/Amazon-or-OA-or-LinkedListSum
Prep Tips:
I think OA's can get very hard sometimes. I really relied on the discuss posts here and tried to solve the last 6 months question and it paid off.
Phone Screen
Got 2 questions, solved 2.
Q1: Mirror Image of a binary tree
Q2: User Website visit pattern (Was more simpler version of it) https://leetcode.com/problems/analyze-user-website-visit-pattern/
Apart from it 1 LP.
Prep Tips:
I had bought a premium subscription and solved the top amazon tagged question. I think that helped me here. Although I could have solved both without premium also I guess.
Apart from it I had prepared for LP as well from this fantastic article https://leetcode.com/discuss/interview-question/437082/Amazon-Behavioral-questions-or-Leadership-Principles-or-LP
Virtual On-Site
R1 - System Design
Design Netfix
R2 - Logical and Maintainable
Design a filter for file search. Had to create 2 types of filters based on file Size and file type.
R3 - Coding Round
Design Amazon Locker system.
Basically had to write function which takes input of a QR code and we should be able to assign a Locker to the user depending on the device size.
R4 - Coding Round
Write a function for
checkout()
checkin(num)
given number range from 1 to INT_MAX
so start = 1, end = INT_MAX
checkout()
This function should be able to checkout the start element and move to next possible element to checkout. Initially you would just increment the start element by 1 until checkin happens
checkin(num)
This functions checks in the number which has been checked out previously. If its less than the start then we have to move the start to this number.
Comment on this round:
Since most of the questions didn't have a right or wrong answer, I'm not exactly sure what would be the outcome of this.
This was the first time I reached till the on-site for a top tech company and I really thank the LC community for this.
Writing this so that I can do my part in helping the community.