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

Support Engineer -Intern

Amazon
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 Month
Topics: Data structures, networking, OS, DBMS, Leadership principles
Tip
Tip

Tip 1 : practice problems of DS
Tip 2 : if unable to cover the entire syllabus, ensure whatever topics you're covered are thorough and practiced
Tip 3 : topics beside DS and coding take much less time to prepare

Application process
Where: Campus
Eligibility: no back, 7 CGPA
Resume Tip
Resume tip

Tip 1 : keep it short and crisp
Tip 2 : you should be able to justify all things present on your resume

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date11 Oct 2021
Coding problem3

1. Zigzag Binary Tree Traversal

Easy
10m average time
90% success
0/40
Asked in companies
AmazonGoldman SachsFlexiEle Consulting Services (FE)

You are given a ‘Binary Tree’.


Return the level-order traversal of the Binary Tree.


Example:
Input: Consider the following Binary Tree:

Example

Output: 
Following is the level-order traversal of the given Binary Tree: [1, 2, 3, 5, 6, 4]


Problem approach

I had studied this problem while practicing BST based problems
I remembered the approach, so i started explaining it. Didn't have to write the whole code, the interviewer understood

Try solving now

2. Power of Two

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

You have been given an integer 'N'.


Your task is to return true if it is a power of two. Otherwise, return false.


An integer 'N' is a power of two, if it can be expressed as 2 ^ 'K' where 'K' is an integer.


For example:
'N' = 4,
4 can be represented as 2^2. So, 4 is the power of two, and hence true is our answer.
Try solving now

3. OS Questions

Theory based questions like semaphores, etc

02
Round
Easy
Video Call
Duration45 Minutes
Interview date15 Oct 2021
Coding problem1

1. Linux Questions

Sudo command

Scanning port command

Problem approach

Tip 1 : you can only answer if you have knowledge

03
Round
Easy
Video Call
Duration50 Minutes
Interview date15 Oct 2021
Coding problem1

1. Validate BST

Moderate
25m average time
0/80
Asked in companies
FacebookAmazonFreshworks

You have been given a binary tree of integers with N number of nodes. Your task is to check if that input tree is a BST (Binary Search Tree) or not.

A binary search tree (BST) is a binary tree data structure which has the following properties.

• The left subtree of a node contains only nodes with data less than the node’s data.
• The right subtree of a node contains only nodes with data greater than the node’s data.
• Both the left and right subtrees must also be binary search trees.
Example :

BST1

Answer :

Level 1: 

All the nodes in the left subtree of 4 (2, 1, 3) are smaller 
than 4, all the nodes in the right subtree of the 4 (5) are 
larger than 4.

Level 2 :

For node 2:
All the nodes in the left subtree of 2 (1) are smaller than 
2, all the nodes in the right subtree of the 2 (3) are larger than 2.
For node 5:
The left and right subtrees for node 5 are empty.

Level 3:

For node 1:
The left and right subtrees for node 1 are empty.
For node 3:
The left and right subtrees for node 3 are empty.

Because all the nodes follow the property of a binary search tree, the above tree is a binary search tree.
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 - Intern
2 rounds | 3 problems
Interviewed by Amazon
1043 views
0 comments
0 upvotes