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

SDE - 1

Amazon
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
During my college I always wanted to work in Amazon for SDE profile. During my 7th semester Amazon visited my college for SDE-1 hiring. I applied and my resume was shortlisted and I received test link after few days. The online test was not easy it had 8 debugging questions and 3 coding questions. I was able to solve the online assessment but was not sure since one of my code failed to pass all test cases. The process was smooth and quick.
Application story
I got to know about Amazon hiring through my college TnP cell and I applied. First round was resume screeing round which I was able to clear. After screening I received a test link which was on DSA coding questions and the level was medium-hard. I was able to solve debugging questions and 2 coding questions, for 3rd coding questions few of the test cases failed. I received a mail for next round within 2 days. The hiring process was quick and easy.
Why selected/rejected for the role?
I was not able to clear TR round even after explaining the code because I got paniced in the starting. Amazon interview was my 2nd interview, I was not sure on how to approach a question and how to continue.
Preparation
Duration: 6 Months
Topics: I have read and heard about the coding level so I prepared fom DSA, SQL, OS, OOPS and other core subjects
Tip
Tip

Tip 1 : Solve questions from all data structures along with implemetation (how to create stack)
Tip 2 : Undertand question propery, don't jump to code. Think for edge/base cases.
Tip 3 : Read constraints
Tip 4 : have a good project and mention that on resume

Application process
Where: Campus
Eligibility: CSE, IT, ECE, EN branches were allowed for my college hiring
Resume Tip
Resume tip

Tip 1 : Mention projects along with contribution
Tip 2 : Mention coding profile links

Interview rounds

01
Round
Easy
Online Coding Interview
Duration180 Minutes
Interview date10 Sep 2021
Coding problem2

1. Angrezi Medium

Easy
20m average time
80% success
0/40
Asked in companies
AdobeMicrosoftAmazon

One day ninja is assigned a task by his teacher to write the numbers ‘N’ into their word form. So he started writing the number into their word form but it takes a lot of time so he comes up with the idea of writing a code which can convert the given numbers into their word form.

So help our ninja write a code that can convert a number into its word form.

So your task is to write a code that can convert numbers into their word form.

For example :
You have given a number “1234” so you have to convert it in its word form that is “0ne thousand two hundred thirty four”.
Note :
You do not need to print anything; it has already been taken care of. Just implement the function
Try solving now

2. 0 1 Knapsack

Moderate
0/80
Asked in companies
Disney + HotstarOptumAmazon

A thief is robbing a store and can carry a maximum weight of ‘W’ into his knapsack. There are 'N' items available in the store and the weight and value of each item is known to the thief. Considering the constraints of the maximum weight that a knapsack can carry, you have to find the maximum profit that a thief can generate by stealing items.

Note: The thief is not allowed to break the items.

For example, N = 4, W = 10 and the weights and values of items are weights = [6, 1, 5, 3] and values = [3, 6, 1, 4]. Then the best way to fill the knapsack is to choose items with weight 6, 1 and 3. The total value of knapsack = 3 + 6 + 4 = 13.

Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date10 Oct 2021
Coding problem1

1. Reverse List In K Groups

Hard
15m average time
85% success
0/120
Asked in companies
SAP LabsSamsungIBM

You are given a linked list of 'n' nodes and an integer 'k', where 'k' is less than or equal to 'n'.


Your task is to reverse the order of each group of 'k' consecutive nodes, if 'n' is not divisible by 'k', then the last group of nodes should remain unchanged.


For example, if the linked list is 1->2->3->4->5, and 'k' is 3, we have to reverse the first three elements, and leave the last two elements unchanged. Thus, the final linked list being 3->2->1->4->5.


Implement a function that performs this reversal, and returns the head of the modified linked list.


Example:
Input: 'list' = [1, 2, 3, 4], 'k' = 2

Output: 2 1 4 3

Explanation:
We have to reverse the given list 'k' at a time, which is 2 in this case. So we reverse the first 2 elements then the next 2 elements, giving us 2->1->4->3.


Note:
All the node values will be distinct.


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