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 - Intern

Amazon
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: Dynamic Programming, Trees, Graphs, LinkedlIists, OOPs
Tip
Tip

Tip 1 : Be thorough with Algorithm and Data Structures concepts.
Tip 2 : Try solving programming questions, mainly focus on the constraints before start writing the code.
Tip 3 : Try to find out an optimal solution.

Application process
Where: Other
Eligibility: above 6.5 CGPA, no backlogs
Resume Tip
Resume tip

Tip 1 : Include the projects you have done.
Tip 2 : Only include the programming languages, technologies you are thorough with.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date24 May 2020
Coding problem2

It contains 20 MCQs, based on the output of the given code and next followed by 2 programming questions. To get qualified for the next round you need to solve the 2 programming questions completely. The next rounds will be interviews. They had given 3 days time to attempt the first round.

1. Maximum Path Sum in the matrix

Moderate
35m average time
70% success
0/80
Asked in companies
MicrosoftPhone PeAmazon

You have been given an N*M matrix filled with integer numbers, find the maximum sum that can be obtained from a path starting from any cell in the first row to any cell in the last row.

From a cell in a row, you can move to another cell directly below that row, or diagonally below left or right. So from a particular cell (row, col), we can move in three directions i.e.

Down: (row+1,col)
Down left diagonal: (row+1,col-1)
Down right diagonal: (row+1, col+1)
Try solving now

2. Dice Throws

Hard
35m average time
65% success
0/120
Asked in companies
MicrosoftDisney + HotstarShareChat

You are given D dice, each having F faces numbered 1 to F, both inclusive. The task is to find the possible number of ways to roll the dice together such that the sum of face-up numbers equal the given target S.

Note :
As the answer can be large, return your answer modulo 10^9  + 7.
Follow Up :
Can you solve this using not more than O(S) extra space?
Try solving now
02
Round
Hard
Video Call
Duration50 minutes
Interview date25 Jun 2020
Coding problem2

1. Palindrome Permutation

Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftFacebookApple

You are given a string 'S', check if there exists any permutation of the given string that is a palindrome.

Note :

1. A palindrome is a word or phrase that reads the same from forward and backward e.g. “aba”, it reads the same from forward and backward.
2. A permutation is a rearrangement of letters.
3. The palindrome does not need to be limited to just dictionary words.

Example :

Given string S : aab
The output should be "True" as "aba" (permutation of string S) is a palindrome. 
Try solving now

2. Longest Common Subsequence

Moderate
0/80
Asked in companies
GoogleAmazonVisa

You have been given two Strings “STR1” and “STR2” of characters. Your task is to find the length of the longest common subsequence.

A String ‘a’ is a subsequence of a String ‘b’ if ‘a’ can be obtained from ‘b’ by deletion of several (possibly, zero or all) characters. A common subsequence of two Strings is a subsequence that is common to both Strings.

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

Which is a DDL command in SQL?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - Intern
3 rounds | 3 problems
Interviewed by Amazon
1167 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 7 problems
Interviewed by Amazon
406 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
417 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
614 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
12330 views
1 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Microsoft
7423 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Google
5247 views
1 comments
0 upvotes