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

SDE - 1

Amazon
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I began my journey by studying DSA in college and learning programming languages such as Java, and C++. I also gained practical experience through internships and personal projects.
Application story
Amazon came to my college for campus hiring. The Placement Coordinator of my college shared one Google form where I have to fill in all the necessary information and also the company asks for my resume.
Why selected/rejected for the role?
I passed all 3 rounds of interviews and the next day I got a confirmation letter after 7 days I got an offer letter from the company.
Preparation
Duration: 6 Months
Topics: OOPS, DBMS, CN, Data structures, CPP, OS
Tip
Tip

Tip 1 : work in projects and gain some experience
Tip 2 : solve coding questions as much as you can

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have some practical projects but include those only that you are confident about it.
Tip 2 : Put about your skill set which matches the applied role

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date13 Mar 2021
Coding problem1

1. Reverse Words In A String

Easy
10m average time
90% success
0/40
Asked in companies
Thought WorksFacebookApple

You are given a string 'str' of length 'N'.


Your task is to reverse the original string word by word.


There can be multiple spaces between two words and there can be leading or trailing spaces but in the output reversed string you need to put a single space between two words, and your reversed string should not contain leading or trailing spaces.


Example :
If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date18 Mar 2021
Coding problem2

1. Reverse the String

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

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Problem approach

1. Declare a string variable to store the input string.
2. Use the reverse() function to reverse the string in-place.
3. Print out the reversed string.

Try solving now

2. Maximum Product Subarray

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

You are given an array “arr'' of integers. Your task is to find the contiguous subarray within the array which has the largest product of its elements. You have to report this maximum product.

An array c is a subarray of array d if c can be obtained from d by deletion of several elements from the beginning and several elements from the end.

For e.g.- The non-empty subarrays of an array [1,2,3] will be- [1],[2],[3],[1,2],[2,3],[1,2,3]. 
For Example:
If arr = {-3,4,5}.
All the possible non-empty contiguous subarrays of “arr” are {-3}, {4}, {5}, {-3,4}, {4,5} and {-3,4,5}.
The product of these subarrays are -3, 4, 5, -12, 20 and -60 respectively.
The maximum product is 20. Hence, the answer is 20.
Follow Up:
Can you solve this in linear time and constant space complexity?
Problem approach

Step 1 : Run a nested for loop to generate every subarray
Step 2 : Calculate the product of elements in the current subarray
Step 3 : Return the maximum of these products calculated from the subarrays

Try solving now
03
Round
Easy
HR Round
Duration40 Minutes
Interview date23 Mar 2021
Coding problem1

1. Basic HR Questions

Give a brief description of yourself
where did you get to know Amazon
where do you see yourself in five years in Amazon

Problem approach

Tip 1 : Be confident
Tip 2 : Don't lie about your skills and hobbies
Tip 3 : Well dressed.

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
3084 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
1592 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
58237 views
5 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Samsung
12648 views
2 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Microsoft
5983 views
5 comments
0 upvotes