Amazon Interview Experience for SDE-1
I got this opportunity during the COVID time and hence all the interview rounds were conducted on Amazon Chime (video call) and I had to write the code on LiveCode (a shared IDE) which was visible to both me and the interviewer.
First Round (Online Test): Online assessment consisting of 4 sections conducted on the AMCAT platform.
- Code Debugging: 7 questions C/C++/Java (20 minutes)
- Workstyle Assessment: (20 minutes)
- Reasoning Ability: 24 questions (35 minutes)
- Coding: 2 questions (70 minutes).
Second Round: First, the interviewer asked me to introduce myself. Then he directly jumps to coding questions.
- Trapping Rainwater. Firstly I gave him a brute force solution then the interviewer asked me to write an optimized solution.
- Reverse a Linked list.
This round went for around 1.25 hours and I solved both the questions.
Third Round: After a formal introduction, the interviewer directly jumps to coding questions.
- Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell.
- The distance between two adjacent cells is 1. https://leetcode.com/problems/01-matrix/
At the end, the Interviewer asked some questions on Projects and this round went for around 65 minutes, and I was successful in solving this question with the optimized approach.
Fourth Round (Technical + Behavioral): Started with an introduction and then moved on to a detailed discussion about the project.
- What was my role?
- What Problems I had faced while making the project?
- Tell me a situation where you worked on a tight deadline
- Tell me a situation where you took a decision
And then he asked me one coding question:
Find the closest pair from two unsorted arrays having equal or unequal size.
Question is similar to this: https://www.geeksforgeeks.org/given-two-sorted-arrays-number-x-find-pair-whose-sum-closest-x/
This round went for around 1 hour and for the behavioral questions you need to follow the STAR (S – situation, T – task, A – action, R – result) method.
Verdict: Selected 🙂
- For coding interviews, you will first need to explain your approach verbally and then if the interviewer is satisfied with the runtime complexity, he will ask you to write the code with proper syntax. You will not have to take input, just take the input as function parameters, and write the complete logic in the function). Practice explaining your approach.
- For behavioral questions, find the set of questions https://leetcode.com/discuss/interview-question/437631/Amazon-Leadership-Principle-(Behavioral)-Questions. Here is a nice simple blog explaining the process of behavioral interviews at amazon (https://interviewgenie.com/blog-1/interviewing-at-amazon-behavioral-interview-questions)
- Make a list of tasks that you did
- For every question try to fit those tasks into the situation
- For every question be ready with at least two tasks.