Amazon interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Amazon
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 Months
Topics: Data Structures, Algorithms, OOPS, DBMS, OS
Tip
Tip

Tip 1 : Do lots of competitive programming
Tip 2 : Create a nice portfolio on any coding platform like LeetCode or CodeChef because it will attract recruiter's. 
Tip 3 : Pick only one Programming language for coding because it will help you to learn syntax by heart.

Application process
Where: Company Website
Eligibility: 7 CGPA, good in programming/DSA
Resume Tip
Resume tip

Tip 1 : Try to make resume of single column because it easily bypass the parser/scanner 
Tip 2 : Do not put false things and over skills in your resume.
Tip 3 : Either you are fresher or experienced still don't make resume more than 2 pages.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date19 Apr 2022
Coding problem3

Timing-90 Duration Of Assessment 
you need to give the test within 5 days of getting the test mail.

Test is conducted virtually through Hackerrank platform and after that it redirects to Amazon page where we need to answer questions related to Amazon’s Leadership Principles and workstyles.

1. Unique Paths

Moderate
25m average time
80% success
0/80
Asked in companies
SAP LabsAdobeDirecti

You are present at point ‘A’ which is the top-left cell of an M X N matrix, your destination is point ‘B’, which is the bottom-right cell of the same matrix. Your task is to find the total number of unique paths from point ‘A’ to point ‘B’.In other words, you will be given the dimensions of the matrix as integers ‘M’ and ‘N’, your task is to find the total number of unique paths from the cell MATRIX[0][0] to MATRIX['M' - 1]['N' - 1].

To traverse in the matrix, you can either move Right or Down at each step. For example in a given point MATRIX[i] [j], you can move to either MATRIX[i + 1][j] or MATRIX[i][j + 1].

Problem approach

Step 1 first create a array/list variable of size same as given size of m x n grid and assign 1st ROW & COL to 1.
Step 2 Create a loop for row (starting from 1 to m) and then Create a loop for col (starting from 1 to n) 
Step 3 Using 2 for loops u need to add top row value and left column value as compare to current array index. and then store the updated value to current array index.
Step 4 at the end of the loop just return last array index value.

Solution:-
dp = [[1]*n]*m
for i in range(1,m):
for j in range(1,n):
dp[i][j] = dp[i-1][j] + dp[i][j-1]
return dp[m-1][n-1]

Try solving now

2. Left View Of Binary Tree

Moderate
30m average time
60% success
0/80
Asked in companies
WalmartSalesforceDelhivery

You have been given a Binary Tree of 'n' nodes, where the nodes have integer values



Example :
If the input tree is as depicted in the picture: 

alt text

The Left View of the tree will be:  2 35 2 
Problem approach

Don't know the solution at the time of interview.
But now I know:-
Step 1 first initialize the queue
Step 2 then number of nodes at current level
Step 3 Traverse all nodes of current level
Step 4 Print the left most element at the level
Step 5 then Add left node to queue if left child exists
Step 6 Add right node to queue if right child exists and then return the queue

Try solving now

3. Basic HR Questions

we need to answer questions related to Amazon’s Leadership Principles, candidate behavior questions and workstyles.

For Example-
Do you agree with your seniors whether that guy is correct or not.
Are you open to learn new technology or still want to work on those technologies on which you are familiar.

02
Round
Hard
Face to Face
Duration60 Minutes
Interview date4 May 2022
Coding problem1

We need to solve 1 or 2(based on interviewer) coding question within 1 hour in which we need to explain our approach before writing the code and we need to give optimal solution of the approach.

1. Minimum Jumps

Moderate
25m average time
75% success
0/80
Asked in companies
DirectiMakeMyTripOYO

Bob lives with his wife in a city named Berland. Bob is a good husband, so he goes out with his wife every Friday to ‘Arcade’ mall.

‘Arcade’ is a very famous mall in Berland. It has a very unique transportation method between shops. Since the shops in the mall are laying in a straight line, you can jump on a very advanced trampoline from the shop i, and land in any shop between (i) to (i + Arr[i]), where Arr[i] is a constant given for each shop.

There are N shops in the mall, numbered from 0 to N-1. Bob's wife starts her shopping journey from shop 0 and ends it in shop N-1. As the mall is very crowded on Fridays, unfortunately, Bob gets lost from his wife. So he wants to know, what is the minimum number of trampoline jumps from shop 0 he has to make in order to reach shop N-1 and see his wife again. If it is impossible to reach the last shop, return -1.

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Amazon
3085 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
2295 views
1 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Amazon
1593 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8962 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Samsung
12649 views
2 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Microsoft
5983 views
5 comments
0 upvotes