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

Software Engineer

Amazon
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

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

Tip 1 : Refer geeks for geeks coding problems
Tip 2 : Practice Coding questions from Hackerrank or Leetcode.
Tip 3 : DO at least 1 project

Application process
Where: Campus
Eligibility: Needs one project in any language
Resume Tip
Resume tip

Tip 1 : Have some projects on resume.
Tip 2 : Mention your skill set like C, Java

Interview rounds

01
Round
Hard
Online Coding Test
Duration60 Minutes
Interview date11 Jun 2020
Coding problem3

Morning time
Environment was good.
No other significant activity
Interviewer was good

1. Subset Sum

Easy
0/40
Asked in companies
AmazonGoldman SachsSAP Labs

You are given an array 'nums' of ‘n’ integers.


Return all subset sums of 'nums' in a non-decreasing order.


Note:
Here subset sum means sum of all elements of a subset of 'nums'. A subset of 'nums' is an array formed by removing some (possibly zero or all) elements of 'nums'.


For example
Input: 'nums' = [1,2]

Output: 0 1 2 3

Explanation:
Following are the subset sums:
0 (by considering empty subset)
1 
2
1+2 = 3
So, subset sum are [0,1,2,3].
Try solving now

2. 24 Game

Hard
45m average time
55% success
0/120
Asked in companies
UberAmazon

Ninja is feeling lonely, so he started playing online games. While searching for fun, he found an exciting game. In this game, Ninja has to choose four cards at random. On each card, there is a number between 1 to 9, both inclusive. For Ninja to win, he has to make the number 24 using the number on cards and the following operator *, /, +, -, (, ).

Help Ninja to find whether he will win the game or not, on the basis of his selection. If Ninja can win the game, print true otherwise, print false.

Example:-
If the cards Ninja chooses are 4, 1, 8, 7. Then Ninja can make 24 by (8 - 4) * (7 - 1). Hence Ninja can win, so you have to return true.
Note:-
The division operator ‘/’ represents actual division, not integer division. For example, 4 / (1 - ⅔ ) = 12.
Try solving now

3. Roots of the tree having minimum height

Moderate
25m average time
75% success
0/80
Asked in companies
OYOAppleAmazon

You are given an undirected Tree having 'N' nodes. The nodes are numbered from 1 to 'N'. Your task is to find the sorted list of all such nodes, such that rooting the tree on that node gives the minimum height possible of the given tree.

A tree is a connected acyclic graph. The height of a rooted tree is the maximum value of the distance between the root and all nodes of the tree.

Try solving now
02
Round
Medium
HR Round
Duration60 Minutes
Interview date25 Jun 2020
Coding problem1

- Morning time
- Environment was good.
- No
- Interviewer was not soo good

1. Basic HR Questions

- Tell me about yourself 

- What did you like most about the job description? 

- What experience do you have that would be relevant to this role? 

- Why are you leaving your current job?

Problem approach

Tip 1 : Give proper answer
Tip 2 : Give valid answers
Tip 3 : Take time and communicate well with HR Pannel

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
Software Engineer
3 rounds | 5 problems
Interviewed by Amazon
3674 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by Amazon
0 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
2806 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 15 problems
Interviewed by Amazon
1714 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7977 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by Samsung
2936 views
0 comments
0 upvotes