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

SDE - Intern

Amazon
upvote
share-icon
1 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
Transitioning from an electronics background to a tech career was a journey fueled by curiosity and dedication. My solid GPA reflected a strong foundation in problem-solving and analytical thinking. Embracing self-learning, I delved into computer science fundamentals and coding through online courses. Coding platforms became my go-to for honing problem-solving skills, while hands-on projects and internships provided practical experience. Networking and mentorship played pivotal roles in guiding me. With relentless preparation and a passion for technology, I successfully cracked the job interview, proving that with determination, one can bridge diverse fields and achieve one's career aspirations.
Application story
My journey from electronics to tech took a significant turn when I decided to apply to Amazon off-campus. Fascinated by their innovative projects, I was determined to join. Despite my electronics background, I had built a solid foundation in computer science fundamentals and honed my coding skills through coding platforms. With a strong GPA and hands-on projects under my belt, I seized the opportunity. Rigorous preparation and leveraging my problem-solving skills paid off. The off-campus application was the catalyst, and my dedication ensured I successfully cracked the interview, securing a tech job at Amazon.
Why selected/rejected for the role?
I was selected for this role due to my strong grasp of data structures and algorithms, along with an inside-out understanding of computer science fundamentals.
Preparation
Duration: 6 months
Topics: Data structures and Algorithm, OOPS, Computer networking, Operating system, MERN Stack
Tip
Tip

Tip 1: Focus on understanding the basics of any topic before jumping to the advanced level.

Tip 2: Spend more time thinking about the approach to a problem before jumping to the solution.

Tip 3: Consistency is key.

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

Tip 1: Make sure it's a one-pager with all the important things highlighted.

Tip 2: You should have in-depth knowledge of all the projects you mention in your resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 minutes
Interview date1 Oct 2022
Coding problem3

This round was based entirely on Data structure and algorithm along with OOPS.

1. Minimum Cost Path

Moderate
25m average time
70% success
0/80
Asked in companies
Goldman SachsOlaSalesforce

You are given an integer array cost where cost[i] is the cost of ith step on a staircase. Once you pay the cost, you can either climb one or two steps.  You can either start from the step with index 0, or the step with index 1.  Return the minimum cost to reach the top of the floor.

Problem approach

I used DP to solve this problem.
Just found the minimum cost to reach the ith stair stored it in the dp array and used it to find the same for the n-1th index.

Try solving now

2. Sum root to leaf

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

You are given the root of a binary tree containing digits from 0 to 9 only.

Each root-to-leaf path in the tree represents a number.

For example, the root-to-leaf path 1 -> 2 -> 3 represents the number 123.
Return the total sum of all root-to-leaf numbers. Test cases are generated so that the answer will fit in a 32-bit integer.

A leaf node is a node with no children.

Problem approach

The intuition behind this solution was to perform a level-order traversal of the binary tree using a queue. While traversing the tree level by level, we keep track of the current sum along the path from the root to each node. When we encounter a leaf node, we add its corresponding sum to the total sum of all root-to-leaf numbers.

Try solving now

3. System Design

I was asked OOPS concept in depth with implementation, was asked to implement polymorphism, friend function and inheritance

Problem approach

Tip 1: A basic understanding of OOPS helped me to solve this question and answer any cross-questions.

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 - Intern
3 rounds | 3 problems
Interviewed by Amazon
2162 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 3 problems
Interviewed by Amazon
2146 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 7 problems
Interviewed by Amazon
1068 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
1042 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15499 views
1 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Microsoft
8186 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Microsoft
4914 views
2 comments
0 upvotes