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

SDE - 1

Amazon
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Data Structures ,OOPS, Dynamic Programming, MYSQL, Projects
Tip
Tip

Tip 1 : Do at least 2 projects
Tip 2 : Data Structure is must. Atleast solve 30 to 40 good questions on each data structure.

Application process
Where: Other
Eligibility: NO
Resume Tip
Resume tip

Tip 1 : Having good projects, some internship experience
Tip 2 : Put what you know.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 Minutes
Interview date8 Dec 2021
Coding problem1

2 coding questions,7 code debugging questions ,rest were MCQ Core aptitude, reasoning, OOPS. I only remember one coding question.

1. Regular Expression Match

Easy
10m average time
90% success
0/40
Asked in companies
HCL TechnologiesAckoAmazon

Given a string ‘str’ and a string ‘pat’. The string s has some wildcard characters i.e ‘?’ and ‘*’.

If any character is a ‘?’ we can replace that character with any other character. 

If a character is a * we can replace * with any sequence of characters including the empty sequence.  

Your task is to determine if it is possible that we can make ‘str' = 'pat’ using appropriate conversions in ‘str’.

For example:
Let str = “abc?" and pat= “abcd”

We return true as ‘?’ can be replaced with ‘d’ and this makes ‘str’ and ‘pat’ same.
Try solving now
02
Round
Medium
Video Call
Duration40 Minutes
Interview date16 Aug 2022
Coding problem1

It was evening time at 4 O clock, Alone in a room with pen and paper near me. Interviewer was chilll.He explained the problem very well .When I explained him the approach ,He was proving edge cases to fail my approach .Then I changed my approach Little .it was able to pass all the test cases.

1. Max element in the path

Easy
15m average time
85% success
0/40
Asked in company
Amazon

Given a Binary Search Tree and two integers NODE1 and NODE2. You have to find the maximum element in the path from NODE1 to NODE2.

A binary search tree (BST), also called an ordered or sorted binary tree, is a rooted binary tree whose internal nodes each store a key greater than all the keys in the node's left subtree and less than those in its right subtree.

Note:

1. The path from NODE1 to NODE2 does not include NODE1 and NODE2.

2. NODE1 and NODE2 are unique.

3. If there is no element in the path from NODE1 to NODE2, return -1.
Try solving now
03
Round
Medium
Video Call
Duration45 minutes
Interview date16 Aug 2022
Coding problem1

It was 5 PM and Interviewer was not good this time, He give me a problem with one test case. But when I asked him that can you tell me the result for a new test case which I took as an example .He said NO

1. Single Number

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

You are given an array A of length N, where N is always an odd integer. There are (N-1)/2 elements in the array that occur twice and one element which occurs once.

Your task is to find the only element that occurs once in the array.

Note: There are (N-1)/2+1 elements that are unique in the array.

Example:
Consider the array be 1,6,4,6,2,4,2
The integers 2, 4, 6 occur twice and only the integer 1 occurs once. 
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
2295 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