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

Program Analyst

Amazon
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 7 Months
Topics: Core Java, Data Structures, Algorithms, Operating Systems, Computer Networks, DBMS, OOPS
Tip
Tip

Tip 1 : Be proficient in coding as it is basic requirement to get selected in any company.
Tip 2 : Try to be confident in the interviews and do not fake in your resume, the interviewer are too smart and catch any lie easily 
Tip 3 : Practice a lot of mock company exams on sites like Coding Ninjas, GeeksForGeeks etc.
Tip 4 : Know about your projects inside out. Lot of questions will be asked related to that.

Application process
Where: Campus
Eligibility: 60 % in 10th and 12th ,More than 6 CGPA in College
Resume Tip
Resume tip

Tip 1 : Make your resume neat and clean, do not try fancy things and don't just stuff things to fill space. 
Tip 2 : Refer to resumes from seniors
Tip 3 : Send it to friends and others for corrections and improvements.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration90 Minutes
Interview date11 Sep 2021
Coding problem1

It was a online video proctored test which had a lot of sections and questions were different for everybody. Sections were on coding, DS, Algo, Networks,DBMS,Software Engg and Testing techniques. The test has medium to difficult level of questions. I got the coding question as longest common subsequence in strings which i solved all the testcases. There was no negative marking. I fcoused on coding,ds,algo,networks and dbms and i was selected for the face to face interview. They roles were alloted according to the performance in the online test.

1. Longest Common Subsequence

Moderate
0/80
Asked in companies
ShareChatOptumSamsung

You have been given two Strings “STR1” and “STR2” of characters. Your task is to find the length of the longest common subsequence.

A String ‘a’ is a subsequence of a String ‘b’ if ‘a’ can be obtained from ‘b’ by deletion of several (possibly, zero or all) characters. A common subsequence of two Strings is a subsequence that is common to both Strings.

Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date14 Sep 2021
Coding problem3

I had the interview in Amazon Chime, the interviewer was very friendly and firstly she asked me to introduce myself and them she told about herself. She also worked with java mainly and i was pretty happy to hear that. They screen has to be presented the whole time and there was also live coding.

1. Find Pair With Smallest Difference

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

Given two unsorted arrays of non-negative integers, 'arr1' and 'arr2' of size 'N' and 'M', respectively. Your task is to find the pair of elements (one from each array), such that their absolute (non-negative) difference is the smallest, and return the difference.

Example :
N = 3, arr1 = [10, 20, 30]
M = 2, arr2 = [17, 15]
The smallest difference pair is (20, 17) with an absolute difference of 3. So, the answer is 3.
Note :
Both the arrays are unsorted, and all array elements are non-negative integers.
Try solving now

2. Closest Sum

Moderate
30m average time
70% success
0/80
Asked in companies
AmazonMicrosoftAcko

Given an array 'ARR'' of 'N' integers and an integer 'target', your task is to find three integers in 'ARR' such that the sum is closest to the target.

Note
In the case of two closest sums, print the smallest sum.
Try solving now

3. OS Questions

System Calls, IPC, File System

03
Round
Medium
Video Call
Duration90 Minutes
Interview date15 Sep 2021
Coding problem3

This round was pretty long for me as it lasted for 90 min. The interviewer was very friendly. She helped me with the problems and gave me hints for optimizing the problem.At the end i was asked some personal questions and some questions on the internship i mentioned in my resume.

1. Sum of Big integers

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

You have been given two integers ‘NUM1’ and ‘NUM2’ as a string. Your task is to print the sum of both the numbers.

Try solving now

2. Longest Common Prefix

Moderate
40m average time
60% success
0/80
Asked in companies
DunzoShareChatGrofers

You are given an array ‘ARR’ consisting of ‘N’ strings. Your task is to find the longest common prefix among all these strings. If there is no common prefix, you have to return an empty string.

A prefix of a string can be defined as a substring obtained after removing some or all characters from the end of the string.

For Example:
Consider ARR = [“coding”, ”codezen”, ”codingninja”, ”coders”]
The longest common prefix among all the given strings is “cod” as it is present as a prefix in all strings. Hence, the answer is “cod”.
Try solving now

3. Debugging Question

I got a problem to debug a code so that the given output is produced. It was a binary tree and the code was iterative postorder traversal. I debugged the code successfully.

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
2294 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