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

SDE - 1

Amazon
upvote
share-icon
4 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
My seniors advised me to practice DSA from the very beginning of B.Tech, but I did not take it seriously. Honestly speaking, I regretted not following their advice, and in my third year, I started coding. Since I had started late, I had to increase my practice hours. After my fourth year, I secured a job at a startup in Noida, but I was not satisfied with it. So, I kept looking for opportunities in a recognized organization. After serving for one year in that startup, I got the opportunity to work at Amazon.
Application story
I saw a post on LinkedIn about Amazon being interested in hiring interns. I considered it a great opportunity for myself. I emailed the HR representative, expressing my interest in being a part of the selection process and attached my resume. Two days later, I received an email stating that my resume had been selected and that I would be proceeding with the interview rounds.
Why selected/rejected for the role?
I believe my skills and knowledge were up to the mark, making me a valuable candidate. Moreover, my communication skills further strengthened my profile.
Preparation
Duration: 2 months
Topics: System Design, Arrays, Hashing, Graphs, BFS, DFS
Tip
Tip

Tip 1: Keep practicing questions on a daily basis. Once you get into the flow, you will be able to solve any question. Try to maintain a daily streak on online coding platforms.

Tip 2: Prepare for the machine coding and system design rounds by reading at least one article a day.

Application process
Where: Other
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1: Mention only the skills you are confident about.
Tip 2: You should have at least one good project in which you have in-depth knowledge.

Interview rounds

01
Round
Hard
Online Coding Test
Duration90 mins
Interview date11 Jan 2022
Coding problem1

1. Spiral Matrix

Easy
15m average time
80% success
0/40
Asked in companies
WalmartOracleApple

You are given a 2-D array 'MATRIX' of dimensions N x M, of integers. You need to return the spiral path of the matrix.

Example Of Spiral Path:

Spiral path of a matrix

Problem approach

I have practiced this problem so many times that I was able to solve it easily.

Try solving now
02
Round
Medium
Video Call
Duration60 mins
Interview date12 Jan 2022
Coding problem2

I was first asked to introduce myself and share my past experience. The interviewer was helpful and guided me in reaching the final solution.

1. Distance Of Nearest Cell Having 1 In A Binary Matrix

Moderate
35m average time
65% success
0/80
Asked in companies
FacebookDunzoCIS - Cyber Infrastructure

You have been given a binary matrix 'MAT' containing only 0’s and 1’s of size N x M. You need to find the distance of the nearest cell having 1 in the matrix for each cell.

The distance is calculated as |i1 – i2| + |j1 – j2|, where i1, j1 are the coordinates of the current cell and i2, j2 are the coordinates of the nearest cell having value 1.
Note :
You can only move in four directions which are : Up, Down, Left and Right.
For example :
If N = 3, M = 4

and mat[ ][ ] = { 0, 0, 0, 1,
                  0, 0, 1, 1,
                  0, 1, 1, 0 }

then the output matrix will be

3  2  1  0
2  1  0  0
1  0  0  1
Problem approach

I first tried to determine which algorithm would be used to solve this question. After that, it was easier to solve.

Try solving now

2. Arithmetic Subarrays

Easy
20m average time
80% success
0/40
Asked in companies
AmazonDunzoHCL Technologies

You are given an array ‘A’ of length ‘N’, you have to tell the number of arithmetic subarrays that exist in the array ‘A’.

An Arithmetic subarray is a subarray that has 3 or more elements and the difference between consecutive elements is the same. Eg: [1, 3, 5, 7] has a length of 4, and diff between any two consecutive elements is 2.

Note:
A subarray is a slice from a contiguous array (i.e., occupy consecutive positions) and inherently maintains the order of elements.
Problem approach

This was a hard problem, but with the help of the interviewer and by identifying the correct data structure, I was able to solve it.

Try solving now
03
Round
Easy
Video Call
Duration30 mins
Interview date12 Jan 2022
Coding problem1

This was the managerial round. The manager was amazing. He asked me what I knew about Amazon and why I wanted to join it. I shared my personal experience of using Amazon and explained why I love it.

1. Technical Questions

  • How do you scale systems?
  • What is load?
Problem approach

Tip 1: Read articles on system design to understand important terminologies.
Tip 2: Always present your answer in bullet points.

04
Round
Easy
HR Round
Duration20 mins
Interview date12 Jan 2022
Coding problem1

1. HR Question

I was asked some behavioral questions, followed by a discussion about the offer.

Problem approach

Tip 1: Stay calm and confident while answering.

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
3084 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
2294 views
1 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Amazon
1592 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
58237 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