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

SDE - 1

Amazon
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

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

Tip 1 : Learn Data Structures and Algorithms.
Tip 2 : Practice coding question using coding platform like LeetCode or CodeChef.
Tip 3 : Focus more on time and space complexities and explore different ways to solve problem.

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

Tip 1 : Mention your experience if you have and also add working projects in your resume.
Tip 2 : Do not put false things and over skills in your resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date19 May 2022
Coding problem2

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

Assessment consists of 2 mode-
1 mode is containing some mcq type question
2 mode is containing 2 coding questions.

Test is conducted virtually through TCS platform. Test covers DSA, OOPS concept, DBMS, SQL, Programming and some general question related to Leadership Principles and workstyles.

1. Puzzle Questions

We need to answer questions related to Core subjects, DBMS, SQL, OOPS concept, Programming, Behavioral, Leadership Principles and workstyles.

this round is entirely based on MCQ's.
Questions like:-
1) Which unix command is used to redirect the no of characters in a file f1 to a file f2
2) What is the output of below program
3)What is the output of the flow chart program.
4)which unix command that creates a file without contend
5)Choose the correct property of foreign key in SQL?
6)What is the output of the flow chart program.
7)What is the output of the flow chart program.hich command is used to return the reverse data of a file in Unix?
8)Which of these is DDL command?
9)Which unix command is used to display the line that contains the word 'are'

Problem approach

Tip 1 : Need to select correct option out of 4 options(MCQ type questions)
Tip 2 : Select correct option based on your knowledge
Tip 3 : Read question 2-3 times and try to understand it.

2. Left And Right Rotation Of A String

Easy
15m average time
85% success
0/40
Asked in companies
AmazonAmerican ExpressBajaj Electricals Ltd

You are given a string 'str' and an integer 'D'. Your task is to rotate the given string left (anticlockwise) and right (clockwise) by 'D' units from the starting index. You are required to return the rotated string.

Example :

Left-Right Rotation

Try solving now
02
Round
Hard
Face to Face
Duration60 minutes
Interview date24 May 2022
Coding problem3

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.

Interviewer also ask some other question related to DBMS, SQL, OOPS concept and etc.

1. Shortest path in an unweighted graph

Moderate
25m average time
70% success
0/80
Asked in companies
AmazonMicrosoftGoldman Sachs

The city of Ninjaland is analogous to the unweighted graph. The city has ‘N’ houses numbered from 1 to ‘N’ respectively and are connected by M bidirectional roads. If a road is connecting two houses ‘X’ and ‘Y’ which means you can go from ‘X’ to ‘Y’ or ‘Y’ to ‘X’. It is guaranteed that you can reach any house from any other house via some combination of roads. Two houses are directly connected by at max one road.

A path between house ‘S’ to house ‘T’ is defined as a sequence of vertices from ‘S’ to ‘T’. Where starting house is ‘S’ and the ending house is ‘T’ and there is a road connecting two consecutive houses. Basically, the path looks like this: (S , h1 , h2 , h3 , ... T). you have to find the shortest path from ‘S’ to ‘T’.

For example
In the below map of Ninjaland let say you want to go from S=1 to T=8, the shortest path is (1, 3, 8). You can also go from S=1 to T=8  via (1, 2, 5, 8)  or (1, 4, 6, 7, 8) but these paths are not shortest.

altImage

Try solving now

2. DBMS and OOPS Questions

We need to answer questions related to DBMS, SQL, programming, OOPS concept, Leadership Principles, candidate behavioural questions and workstyles.

For Example-
How to copy date from one server to another server in UNIX?
what is the use of chmod command in unix?
Types of key's in SQL queries?
What is the output of given program?
What is OOPS concept and its types?
Difference between function overloading and function overriding?
Write a query to find out second highest salary of an employee.
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?

3. Inorder Traversal

Easy
32m average time
0/40
Asked in companies
MakeMyTripWells FargoAmazon

You have been given a Binary Tree of 'n' nodes, where the nodes have integer values. Your task is to return the In-Order traversal of the given binary tree.


For example :
For the given binary tree:

The Inorder traversal will be [5, 3, 2, 1, 7, 4, 6].
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