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

SDE - Intern

Amazon
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, Algorithms, Operating System, OOPS, DBMS
Tip
Tip

Tip 1 : Practice topic-wise questions from Leetcode. After solving every question, you should see the top Discuss posts and keep on improving.
Tip 2 : Go through the past year's interview experiences which will give you an idea of the kind of questions asked in Amazon.
Tip 3 : Prepare the Computer Science fundamentals well.
Tip 4 : Instead of covering every topic in-depth, try to first cover all the topic at a basic level.

Application process
Where: Email Approach
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : You should not write false things in your resume.
Tip 2 : Be prepared to answer questions on anything that you have mentioned in the resume. Prepare it well.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date24 May 2020
Coding problem0

There were four rounds in the online assessment. 
The first round was a MCQ round where we had to find errors in the given code snippets.
The second round was a coding round where there were two coding questions.
The third round was a MCQ round based on aptitude and mental reasoning.
The fourth round was a behavioural round that consisted of MCQ questions.

02
Round
Medium
Video Call
Duration120 minutes
Interview date20 Jun 2020
Coding problem3

The round was based on DSA and CS fundamentals.
Three DSA questions were asked, in each of them I had to properly explain my approach and then code the entire solution.
After the DSA questions, I was asked questions on CS fundamentals.

1. Count triplets in a sorted doubly linked list whose sum is equal to a given value x

Moderate
15m average time
85% success
0/80
Asked in companies
AmazonOla

You are given a sorted doubly linked list of distinct nodes that means no two nodes present in the list have the same data. You are also given an integer 'X'.Your task is to count the number of triplets in the list that sum up to a given value 'X'.

A doubly linked List (DLL) contains an extra pointer, called the previous pointer, together with the next pointer and data, which are there in the singly linked list such that both forward and backward navigation is possible.

For example, DLL is 1<->2<->3<->4 NULL and the given integer 'X' is 9, then the number of triplets having the sum 9 is only one, and that is (2,3,4).

Note:
1. If no such triplets exist, return zero.
2. At least three elements will always be present in the linked list.
Try solving now

2. Number of Islands

Easy
0/40
Asked in companies
PhonePeExpedia GroupRazorpay

You have been given a non-empty grid consisting of only 0s and 1s. You have to find the number of islands in the given grid.

An island is a group of 1s (representing land) connected horizontally, vertically or diagonally. You can assume that all four edges of the grid are surrounded by 0s (representing water).

Try solving now

3. Flip Bits

Easy
15m average time
85% success
0/40
Asked in companies
InfosysFlipkartMyntra

You are given an array of integers ARR[] of size N consisting of zeros and ones. You have to select a subset and flip bits of that subset. You have to return the count of maximum one’s that you can obtain by flipping chosen sub-array at most once.

A flip operation is one in which you turn 1 into 0 and 0 into 1.

For example:
If you are given an array {1, 1, 0, 0, 1} then you will have to return the count of maximum one’s you can obtain by flipping anyone chosen sub-array at most once, so here you will clearly choose sub-array from the index 2 to 3 and then flip it's bits. So, the final array comes out to be {1, 1, 1, 1, 1} which contains five ones and so you will return 5.
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

What is 3 + 2 * 4 based on operator precedence?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
3 rounds | 3 problems
Interviewed by Amazon
1537 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 7 problems
Interviewed by Amazon
656 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
661 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
1757 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
13563 views
1 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Microsoft
7712 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Google
5563 views
1 comments
0 upvotes