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

AWS Cloud Support Associate

Amazon
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 - Practice Atleast 250 Questions
Tip 2 - Ex- Do atleast 2 projects

Application process
Where: Linkedin
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Have some projects on your resume.
Tip 2 : Do not put false things on your resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 Minutes
Interview date9 Jul 2020
Coding problem2
Hard
20m average time
80% success
0/120
Asked in companies
Goldman SachsUberApple

You are given an arbitrary binary tree, a node of the tree, and an integer 'K'. You need to find all such nodes which have a distance K from the given node and return the list of these nodes.


Distance between two nodes in a binary tree is defined as the number of connections/edges in the path between the two nodes.


Note:

1. A binary tree is a tree in which each node has at most two children. 
2. The given tree will be non-empty.
3. The given tree can have multiple nodes with the same value.
4. If there are no nodes in the tree which are at distance = K from the given node, return an empty list.
5. You can return the list of values of valid nodes in any order. For example if the valid nodes have values 1,2,3, then you can return {1,2,3} or {3,1,2} etc.
Example :

Sample Output 2 explanation

Consider this tree above. The target node is 5 and K = 3. The nodes at distance 1 from node 5 are {2}, nodes at distance 2 from node 5 are {1, 4} and nodes at distance 3 from node 5 are {6, 3}.
Problem approach

We can do a level order traversal and keep track of the level. when the current level is equal to k, print all the nodes of that level.

Try solving now

2. Odd even level

Easy
20m average time
87% success
0/40
Asked in companies
ZSAmazonCitrix

Given a binary tree. Find and return the modulus of the difference between the sum of odd level nodes and the sum of even level nodes.

Problem approach

Step 1: simply traverse the tree level by level (level order traversal)
Step 2: store the sum of node values in even no. level in evenSum and rest in variable oddSum 
Step 3: finally return the difference.

Try solving now
02
Round
Medium
Face to Face
Duration60 Minutes
Interview date24 Jul 2020
Coding problem3

This interview is based completely on Networking concepts. They expect you to answer in complete depth and be as detailed as possible. It is very normal for the interviewer to keep typing on the laptop to record your answers while you speak, so speak only what you are sure about, but do not be intimidated by it. A few questions that were asked:

1. Networking Question

Suppose I have a brand new laptop and I wish to connect it to the internet. What should I do, and what shall happen in background before the laptop is connected to the internet?

Problem approach

(Ans. Manually assigning IP address or DHCP and DORA procedure. They expect you to explain in depth about DHCP and DORA)

2. Networking Question

What happens in background when I write www.amazon.com on my web browser and hit enter?

Problem approach

The complete process starting from how IP address request is sent from browser to OS to the DNS resolver and further, and how IP address is sent back to browser; after which the three-way-handshake procedure to establish TCP connection, and then how a request and response is generated followed by interpretation of HTML and Javascript along with images/sounds

3. Networking Question

What are few methods of HTTP, what is HTTPs, is the port number different for HTTPs, how is SSL related to HTTPs, explain SSL handshake?

Problem approach

Tip 1 : Study all the networking concepts in detail
Tip 2 : Try to be detailed about your answers.

03
Round
Hard
Face to Face
Duration90 minutes
Interview date7 Aug 2020
Coding problem2

This round was based on Operating Systems and troubleshooting. Just like Interview 1, they expect you to answer in-depth.

1. Operating System Based Question

What are different types of memory present in a computer?

Problem approach

Tip 1 : Read Galvin for OS thoroughly.

2. Operating System Question

Explain the concept of virtual memory. If it’s not present in hardware, how does it store data? Explain framing, segmentation and paging.?
Explain the entire boot process of windows. (choice was given between Windows and Linux)

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
AWS Cloud Support Associate
5 rounds | 8 problems
Interviewed by Amazon
1307 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8962 views
0 comments
0 upvotes
company logo
Fullstack Developer
2 rounds | 4 problems
Interviewed by Amazon
7905 views
2 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3502 views
0 comments
0 upvotes