'Coding has over 700 languages', '67% of programming jobs arenâ€™t in the technology industry', 'Coding is behind almost everything that is powered by electricity'
Amazon interview experience Real time questions & tips from candidates to crack your interview
SDE - 2
Amazon
6 rounds | 8 Coding problems
Interview preparation journey
Preparation
Duration: 3 months
Topics: DS/Algo, System Design, HLD, LLD, Behavioral questions
Tip

Tip 1 : 250 Leetcode ( Easy- 70, Medium- 150, Hard- 30)
Tip 2 : Don't underestimate importance of good projects on your Resume.
Tip 3 : Be Confident.

Application process
Eligibility: 3+ years Experience
Resume tip

Tip 1: Resume should not be more than 1 page.
Tip 2: Have Keywords on Resume that match Job descriptions.

Interview rounds
01
Round
Medium
Face to Face
Duration60 mins
Interview date24 Aug 2019
Coding problem3

3 Questions were asked : 2- Trees and 1- Stack.
Interviewer was not receptive at all, I think this was a stress interview.

1. Validate Binary Search Tree
Moderate
25m average time
70% success
0/80

#### Given a binary tree with N number of nodes, check if that input tree is Partial BST (Binary Search Tree) or not. If yes, return true, return false otherwise.

View more
Problem approach

Inorder Traversal and Check if previous element is smaller than next one

2. Binary Tree - Replace every node with Sum of nodes Greater than that node
Moderate
25m average time
65% success
0/80

#### Given a binary tree with 'N' number of nodes, convert it to a Greater Tree such that data of every node of the original BST i...

View more
Problem approach

I took Reverse Inorder in this approach and started from last element in right subtree
Traversed the Tree in Reverse Inorder Fashion Right Root Left.

3. Check if String has Valid parenthesis ()[]{}
Easy
10m average time
80% success
0/40

#### Return true if the given string 'S' is balanced, else return false.

...

View more
Problem approach

I used Stack data structure for this problem and Solved in O (n) Space Complexity
Interviewer asked to optimise this to O(1) Space which i was not able to optimise.

02
Round
Hard
Face to Face
Duration60 mins
Interview date24 Aug 2019
Coding problem2

2 Coding Questions were asked, both were of Medium to Hard Difficulty.

1. Rearrange linked list with child and next pointers into a single linked list.
Moderate
10m average time
80% success
0/80

#### You are given a multi-level linked list of 'N' nodes, each node has a next and child pointer which may or may not point to a separ...

View more
Problem approach

I used BFS approach here, and made use of Queue Data structure
I kept on storing Child elements of a node in Queue.

2. Rain Water Trapping Problem
Moderate
15m average time
80% success
0/80

#### It represents an elevation map wherein 'arr[i]â€™ denotes the elevation ...

View more
Problem approach

I used two Arrays here Min and Max to store all elements min/max for a Particular element

03
Round
Medium
Face to Face
Duration90 minutes
Interview date24 Aug 2019
Coding problem1

Timing : It was late night.
How the interviewer was? He was very tired and I had to lead the discussion.
1 System Design Question was asked, had to provide - HLD, LLD, APIs.

1. Design Swiggy/Zomato - Online Food ordering System
Problem approach

Tip 1: Ask clarifying questions and make sure you boil down to Minimum Viable product
Tip 2: Restrict Scope of problem to essential Features for eg: Customer support, Discounts/Offers can be pushed to Future Requirements.
Tip 3: Keep talking to interviewer and ask if you are going in right direction, there is not a single solution for design, so make sure you justify your designs like - I...

View more
04
Round
Medium
Telephonic
Duration60 minutes
Interview date11 Sep 2019
Coding problem1

Timing : Afternoon
How was the environment? Home
Interviewer : Hiring Manager

1. Hiring Manager Discussion

Discussed about past Projects, challenges faced, disagreements with manager, why looking for job switch,  leadership principle questions were asked.

Problem approach

I answered all questions very confidently and was prepared for all Leadership questions. Each answer should be fitting one or two leadership principle.

05
Round
Medium
Telephonic
Duration60 minutes
Interview date26 Sep 2019
Coding problem1

Timing - Afternoon
How was the environment? Home
How the interviewer was? Very Helpful Interviewer
Bar raiser Round - Coding + System Design + Leadership principle

1. Design ATM System
Problem approach

Tip 1: Ask clarifying questions and make sure you boil down to Minimum Viable product
Tip 2: Write down all Entities and Interface and make use of OOPs Concepts like abstraction, Encapsulation, etc
Tip 3: Design patterns is a good to have, you can showcase this skill for SDE 2.

06
Round
Easy
HR Round
Duration30 minutes
Interview date15 Oct 2020
Coding problem0

Discussed about the Offer and Location.

Start a Discussion
Similar interview experiences
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
3557 views
SDE - 2
3 rounds | 4 problems
Interviewed by Amazon
0 views
SDE - 2
5 rounds | 7 problems
Interviewed by Amazon
410 views
SDE - 2
4 rounds | 8 problems
Interviewed by Amazon
959 views
Companies with similar interview experiences
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
14627 views