Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Amazon interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Amazon
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data structure and Algorithms, DBMS, OS, System Design
Tip
Tip

Tip 1 : Participate in live contests on websites like Codechef, Codeforces etc as much as possible.
Tip 2 : Practice previous interview questions from LeetCode, GeeksForGeeks.
Tip 3 : Revise Computer Science subjects like DBMS, OOPS thoroughly.

Application process
Where: Campus
Eligibility: 6 CGPA
Resume Tip
Resume tip

Tip 1 : Add projects and Internships if you have done any and add only those things which you really know.

    

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date15 Dec 2020
Coding problem1

The round consisted of mcqs and 1 coding question. 

  1. MCQ’s(Total -19)

Topics: Trees(5), semaphores(3), deadlocks(5) and algorithms(6)

1. Anagram Pairs

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

Given a Binary Tree of 'N' number of total nodes, return the sequence of values of the leftmost and rightmost node at each level.

For example:
View more
Problem approach

 I simply used hashing to solve this problem by checking the frequency of characters in both strings.     

Try solving now
02
Round
Easy
Face to Face
Duration90 minutes
Interview date15 Dec 2020
Coding problem2

1. Successor Problem

Problem approach

I have done this question earlier so just use already built algorithm which traverses the number from the back.

2. Circular Move

Problem approach

I simply started from 0,0 point and if the robot again reaches to 0,0 point then motion is circular. I explained my whole approach on paper to the interviewer.

03
Round
Easy
Face to Face
Duration90 minutes
Interview date15 Dec 2020
Coding problem3

1. Find Number of Islands

Problem approach

Simply gave the interviewer, DFS based approach by visiting adjacent connected components and counting the number of islands. The interviewer was satisfied with my approach.

2. Reverse Stack Using Recursion

Problem approach

I told him proper algorithm with code on paper to the interviewer. He asked me to dry run the algorithm which I did by taking an example of stack.

3. Leftmost & Rightmost Nodes of Binary Tree

Problem approach

I used Level order approach to solve this question and the interviewer was quite satisfied with my approach and he was happy with my response.  

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

What is the result of 4 % 2?

Start a Discussion
Similar interview experiences
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Amazon
823 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
1126 views
1 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Amazon
431 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
1174 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
49224 views
5 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Samsung
10974 views
2 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Google
9520 views
0 comments
0 upvotes