'Coding has over 700 languages', '67% of programming jobs aren’t in the technology industry', 'Coding is behind almost everything that is powered by electricity'
Amazon interview experience Real time questions & tips from candidates to crack your interview
SDE - Intern
Amazon
upvote
share-icon
2 rounds | 3 Coding problems
Interview preparation journey
expand-icon
Preparation
Duration: 1 month
Topics: Data Structures and Algorithms, Networking, Database Management System, Operating System, Time Complexity, Compiler design, Machine Learning and Artificial intelligence techniques
Tip
Tip

I practiced a lot of problems related to Data structures on the Coding ninjas platform and other coding platforms. If you are stuck somewhere in a problem and want to see reference, first, try to understand the algorithm and then move on to code. Just see the algorithm that is how to approach first and don't try to understand from the code right off the bat, code has finer implementation variation that can be done on your own if you are clear with the algorithm. Also for big product companies,  prepare enough problems of graphs and trees as these are the most important topics for interviews.

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

Mention a good level of projects in your resume, and also give a brief detail about each and every project.

Interview rounds
01
Round
Easy
Online Coding Test
Duration120 minutes
Interview date1 Aug 2019
Coding problem2

This round consisted of two coding questions which were of medium level.

1. Minimum Cost to Destination
Hard
41m average time
30% success
0/120
Asked in companies
AckoBarclaysZomato

You have given a m*n matrix filled with "1" and "0"."1" means you can use the cell and "0" means the cell is blocked. You can move in 4 directions left, right, top, bottom. Every time you move upward direction or downward it costs you 1$. Moving left or right will not be added to cost. So you have to write a code to check whether one can reach to destination index (x,y) starting from (0,0). If ...

View more
Problem approach
  • I gave recursion with backtracking solution to the interviewer, in which we explore every path and find the minimum cost.
Try solving now
2. Minimum Cost to Buy Oranges
Moderate
20m average time
70% success
0/80
Asked in companies
IntuitWalmartAmazon

You are given a bag of size 'W' kg and provided with the costs of packets with different weights of oranges as a list/array with the name 'cost'. Every i-th position in the cost denotes the price of 'i+1' kg packet of oranges.

If at any point in time the i-th cost is -1, it means that 'i+1' kg packet of orange is unavailable.

You are required to find the minimum total cost to buy ex...

View more
Problem approach
  • This was the same as rod cutting dp problem, in place of maximum I have to minimize total cost. So I gave the interviewer first recursion approach, then he asked me to optimize it. After that, I gave dynamic programming solution.
Try solving now
02
Round
Easy
Face to Face
Duration60 minutes
Interview date15 Aug 2019
Coding problem1

It was a subjective pen and paper coding round. Interviewer gave me one coding question that is: 

1. Snake and Ladder
Moderate
30m average time
60% success
0/80
Asked in companies
Urban Company (UrbanClap)FlipkartUber

Given a snake and ladder board, find the minimum number of dice throws required to reach the destination or last cell from source or 1st cell. Basically, the player has total control over the outcome of dice throw and wants to find out the minimum number of throws required to reach the last cell.

 

If the player reaches a cell which is base of a ladder, the player has to climb ...

View more
Problem approach
  • I gave the interviewer Queue based approach. I basically considered the given board as a directed graph with number of vertices equal to the number of cells, and then our solution will be the shortest path from source to destination. The interviewer gave me test cases and asked me to dry run the code on that cases, in the first attempt there were some mistakes, which I corrected, and at la...
View more
Try solving now
Start a Discussion
Similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
3030 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
2135 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 5 problems
Interviewed by Amazon
640 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
6214 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
9462 views
1 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Microsoft
6534 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Google
4419 views
1 comments
0 upvotes