The Wayback Machine - https://web.archive.org/web/20241002153326/https://www.geeksforgeeks.org/amazon-interview-sde-2-5-year-exp/
Open In App

Amazon Interview SDE 2 (5 year exp)

Last Updated : 16 Jul, 2019
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Online Assessment Round :

Question 1. Given a matrix of 1 & 0. Where 1 is a valid path piece. Given a src and dst also. Need to find out minimum number of steps to reach destination from Source.

Question 2. Amazon transport centre ships there items in trucks of some size. And each item take some space. And for safety purpose we have to keep a some given space empty in truck.

We are given a array of size of items[10,20,30,40], size of truck(100) and safety space(40). We have to find a pair of items which can be shipped safely and utilising maximum space in truck.

So in given example we will ship pair(20 & 40) with keeping 40 space.

Round 1: Telephonic:

Question 1. Given a matrix of 1 & 0. Where 1 is a valid path piece. Given a src and dst also. Need to find out minimum number of steps and path also to reach destination from Source.

Question 2. Given a function f(x) =y, where 0<x<10000 & if x1<x2 then y1 < y2 for every x. Now we have to write f(y) = x function. Which will take input as some y and will return x.

Round 2: Design LLD + HLD:

Question 1. Asked about my project and we discussed deeply about it’s challanges for its features.

Question 2. Social Media Platform design. He asked me to give only 4 features. Post(Private and Public), Follow a user and Search.

It was HLD + LLD design. Asked me various approches by giving multiple scenarios of follower and followee. Went deep in Microservices architecture design.

OOD Code was expected.

Round 3: Coding and Problem Solving.

Question 1. Given a map where. 1->a, 2->b, 3->c and so on till 26->z.

Now we are given a number lets say 123. We need to print all possible way to print it in alphabetical form using the map.

ex: for 123 we have (abc, Lc) where 12->L.

Question 2. We are given a number lets say 45312. We need to find next greater number with same integers.
Ex. for 45312 next number is 45321.

Question 3. We are given multiple sorted arrays. We have to merge these.
Round 4: DS and Algo.

Question 1. Given a Tree, Find Kth distance nodes from a node.
Question 2. Given a Tree, Find cousin some of a given node.

Question 3. Given sorted row and sorted coloumn matrix. Find a number in o(row size) complexity.
Round 5: Design Round.

It was an open discussion on my project and any other project which i previously discussed.

After discussion, Interviewer asked me to design a Multiplayer Chess Game with scale around 10 Million users and world wide popularity. Discussion went very long for various Database schema and HLD design of Master slave and (Consistent Hashing)Ring Design for Database.

Round 6: Hiring Manager.

He asked me about difficult project i have worked on. I chose my latest project to discuss.

Then we discussed deeply about its features. My project discussion went for aorund 30 mins.

After it, He asked me a file upload and changes done on one of the devices and sync on multiple device design problem.

Round 7: Bar Raiser.

It was a telephonic round. Interviewer introduced himself and asked me about project.

There were many behavioural questions. like Why Amazon ? Why are you leaving previous company ?

Apart from these asked me to implement Decorator Design Pattern for my project.

And asked Amazon Principle related questions like

“Time when you had to push back customers requirement”

“Time when a feature request was not feasiable.”

At last he asked me a algo question “There is a sentence find all the anagram word in it.” Asked me complexity also.

that’s it.

After 2 days i got call from HR that i am selected.

 

I would like to give some suggestions for Amazon interviews. You must think about customers before answering and designing anything in interview.

Amazon is the world’s most customer centric company and they expect engineers to be the same.

 



Previous Article
Next Article

Similar Reads

Amazon Interview Experience (SDE 1 - 2 yr exp)
Round 1: Pen and paper-based 2 questions Given a linked list reverse every node at even places. Eg Given list - 1-2-3-4-5 Output list - 1-4-3-2-5 Don't remember, but somewhat based a tree. It was an easy question. Round 2: Face to face (1 hour) 2 interviewers Given a tree find a way to serialize and deserialize it back. Another tree-based question
1 min read
Amazon Interview Experience for SDE-1 | Off-Campus ( Exp<1year)
Position: SDE1 at Amazon Location: Bangalore/Hyderabad Date: 7 March, 2020 Online Assessment There were two coding questions: 1. One based on standard BFS in a matrix 2. Based on priority queue something similar to k Order statistics Virtual Onsite Interviews: Round 1:  1.There are two types of chocolates Milk chocolate and Dark chocolate and N row
3 min read
Amazon Interview Experience SDE-1 | Feb 2020 ( Exp 1.5 yr )
Hey guys ! I am sharing you my interview experience with Amazon for SDE-1 role in Feb 2020. Round 1: Well first round was an online assessment test on AMCAT. There were two coding questions need to be completed in 90 Min. Given a 2-D matrix of 0's and 1's, where 1 represents an infected person and 0 represents an uninfected person. After each secon
5 min read
Microsoft Interview Experience For Data Platform Team (4+ Year Exp.)
Round 1:  Question-1 : Reverse Linklist (Using both method recursive as well iterative in O(n) time.) Question-2 : Resolve an compile dependency. Round 2: Question-1 : Given a list of rectangle coordinates, Find how many rectangles are overlapping. Question-2 : Given a linklist with different size which represent long integer number. Generate 3rd l
2 min read
Google Interview Experience for Chrome OS Firmware Engineer (2 Year Exp)
Becoming a Firmware Engineer was the pinnacle of my aspirations. That too getting a chance in a Company like Google was even greater. Google's reputation for innovation and groundbreaking technology products inspired me, and I eagerly anticipated the challenge of their renowned interview process. Application and Initial Screening: Submitting my onl
4 min read
NEXTracker Interview Experience for Backend Developer (1 Year Exp.)
Hello everyone! I'm excited to share my recent interview experience with Nextracker for the role of Backend Developer. The process comprised two technical rounds, with each assessing a different aspect of my knowledge and experience. Technical Round 1:The first round began with a personal introduction, followed by a question on why I was looking fo
2 min read
Amazon SDE-2 Experience (6.5 Years Exp)
I went through Amazon interview experience. This is my Exp Round 1(telephonic): 1. Print nodes at K distance in BT 2. Sort array when it is away at most by K distance 3. Implement priority queue Round 2(f2f): Code to implement file system name by integer where you can add/delete file by lowest integer val available Implement arraylist Round 3: Desi
1 min read
HSBC Interview Experience for SDE-2(Java Dev) exp. 4 yrs
I recently appeared for HSBC Interview for the Profile of Senior Software Engineer. Experience: 4years Technology Stack: J2EE, Spring Boot, Java 8, Microservices, and Angular Js. Interview Round in detail: Online Rounds 1 and 2 Technical Discussion RoundManagerial RoundHR Round Online Round 1 and 2: There were 7 questions on the hacker rank platfor
2 min read
Goldman Sachs Interview Experience for SDE 2 (1.5 Yrs Exp) 2022
Coding Round: Given a number x, and a range of y to z. Please find the count of all the numbers in the range. Such that the product of the numbers n and x does not contain any digit from the number n.Input: 2 10 15Output: 4Number Pattern: Given a pattern containing Ns and Ms. N represent ascending, M represents descending. The sequence is given (le
2 min read
Microsoft Interview Experience SDE 1 off campus (8 months exp)
1st round was skype interview: Question 1 : Given a bst find 4 numbers which sum upto a given number . without using extra space Answer: Convert bst to dll and use 2 pointers approach O(n^3) Question 2 : It was based on BST also, don't remeber the question. From 2nd round onwards it was on Microsoft Hyderabad campus: Round 2: Question 1: Given a ro
2 min read
Amazon Interview Experience for SDE2 (3 years exp)
I started with Amazon Interviews from Jan'18 and ended in March'19. This is not because there was delay from Amazon's recruiter side but it was scheduled according to my convenience. In my case recruiter from Amazon connected with me on LinkedIn/Email followed by conversation over the phone. Round 0 - Online Test There were 2 questions which were e
3 min read
Amazon Interview Experience for System Development Engineer (Exp - 6 months)
Round 1 (Phone Screening): It was a screening round to gauge my resume and also check if I was worth the further interview process for the role. The interviewer started with a basic introduction followed by some questions on the projects mentioned on my resume. Post that, I was asked a few coding questions mentioned below: https://www.geeksforgeeks
4 min read
Amazon Interview Experience | 1 year Experienced for SDE-1
Location:- Hyderabad Round 1: Written Round- 1.Print binary tree vertically. 2.Given matrix of "#", "&", source "S", destinations "D", calculate minimum number of steps required to go from Source to Destination. Can only move in four directions(up, down, right, left) Round 2: F2F Interview 1.Given 'N' houses find number of ways to paint it with
1 min read
Amazon Interview Experience | SDE (1.5 Year Experienced)
Round 1 - Online Coding Round on Amcat Platform: 1) Top N competitors similar to this https://leetcode.com/discuss/interview-question/460127/ 2) A very similar question to this, the same concept of BFS will apply. Given a 2D grid, each cell is either a zombie 1 or a human 0. Zombies can turn adjacent (up/down/left/right) human beings into zombies e
5 min read
Amazon Interview Experience | SDE-1 (Off-Campus, 1 Year Experienced)
Hey guys ! I am sharing with you my interview experience with Amazon for SDE-1 role in June 2020. I was contacted by the HR asking me for my Resume. Next day she said she will be sharing an Online Assessment link. Round 1:(Online Coding Round on Amcat Platform) There were two coding questions need to be completed in 90 Min. https://leetcode.com/dis
3 min read
Amazon Interview Experience for SDE | Off-Campus (1-1.5 year experienced)
Round 1 (Online coding Round): This round was held on Amcat. There were 2 coding questions. Given the 2D matrix. Each cell has a value 0 or 1. 1 represents land and 0 represents water. Find the Number of islands. Example: Input: 1 1 0 0 1 0 Output: 2 0 0 1 Approach: DFS in 2D matrix and take a count of how many times you have to do DFS to cover all
9 min read
Amazon Interview Experience for SDE-1 (1 year Experienced)
I got this opportunity during the COVID time and hence all the interview rounds were conducted on Amazon Chime (video call) and I had to write the code on LiveCode (a shared IDE) which was visible to both me and the interviewer. First-round (Online Test) There is a matrix containing 0,1 and 9. You need to start from the top left and reach the cell
5 min read
Amazon Interview Experience for SDE-1 | 1 Year Experienced
Applied through employee referral. Got an email for giving coding test within couple of days Round 1(Coding Round): First question was similar to https://www.geeksforgeeks.org/find-k-closest-points-to-the-origin/ Given an array of integers, find number of pairs of elements who have sum less than value "K". Tip: Solve coding round questions using br
2 min read
Amazon Interview Experience for SDE-2 (2+ Year Experience)
Coding Round: There were two coding questions.1. Given Array Of Strings, Find Pairs of Strings that have a difference of 1 right rotation. Example – “abc” after 1 round rotation will be “bcd” Input – [“abc”, “efg”, “bcd”, “cde”, “bcd”] Output – 4 Explanation – (“abc”, “bcd”), (“abc”, “bcd”), (“bcd”, “cde”), (“bcd”, “cde”) 2. https://leetcode.com/di
2 min read
Amazon Interview Experience for SDE-2 (5 Year Experience)
This was the amazon Chennai team conducting a hiring event in the amazon Gurugram office on 15th July 2022. Round-1 ( DSA ) https://www.geeksforgeeks.org/given-a-number-find-next-smallest-palindrome-larger-than-this-number/https://www.geeksforgeeks.org/optimal-strategy-for-a-game-dp-31/ Round-2 (Design): Design an online parking portal (HLD). His m
1 min read
Amazon Interview SDE-1 (Experience- 1 year)
Round 1: This round was online written test on hackerrank platform. There were two questions Connect N ropes with minimum cost problem. Article : https://www.geeksforgeeks.org/connect-n-ropes-minimum-cost/ Practice : https://www.geeksforgeeks.org/problems/minimum-cost-of-ropes/0 Given Two arrays, first array represents the forward distance and seco
2 min read
Amazon Interview Experience | Set 167 (SDE I for 1 year 6 months experience)
Round1: Online Coding Round There were 4 coding question. Was asked to answer 2 out of 4. 1) Given a list of N coins, their values (V1, V2, … , VN), and the total sum S. Find the minimum number of coins the sum of which is S (we can use as many coins of one type as we want), or report that it’s not possible to select coins in such a way that they s
3 min read
Amazon Interview Experience | Set 232 (SDE-1 for 1 Year Experienced)
Interview 1: Before the interview began we were asked to solve 6 questions Write a function to swap a number in place without temporary variables. Find out if number is power of 2. Find the least common ancestor of 2 nodes in a BST. Write a method to replace all spaces in a string with '%20'. Check if binary tree is balanced. Implement an algorithm
6 min read
Amazon Interview Experience | Set 233 (1 Year Experienced for SDE-1)
I recently had interviews with Amazon.com, Bangalore. Here’s my interview experienceCoding round (1 hour): 1. Find minimum number of coins that make a given value Given a value V, if we want to make change for V cents, and we have infinite supply of each of C = { C1, C2, .. , Cm} valued coins, what is the minimum number of coins to make the change?
2 min read
Amazon Interview Experience | Set 240 (1.5 Year Experienced for SDE-1)
I recently had interviews with Amazon. Here’s my interview experience Coding round on Hacker rank (1 hour): 1. Find minimum number of coins that make a given value Given a value V, if we want to make change for V cents, and we have infinite supply of each of C = { C1, C2, .. , Cm} valued coins, what is the minimum number of coins to make the change
4 min read
Adobe Interview Experience ( 3 Years Exp )
I was called to Noida office of Adobe situated in sector 132 Noida. Round 1: Remove half nodes from a binary tree. (Half Nodes = Nodes with only one child) Find the number of Rectangles with 1s at 4 corners in a 2D array of 1s and 0s Javascript Question : Closure and setTimeOut
1 min read
PlayGames 24*7 Bangalore Interview Experience ( 6+ Yrs Exp)
Round 1: 1. Tell me about the technologies you have worked. 2. Tell me about your project. 3. Data Structure questions .. A.  Input Array = {4, 8, 2, 15, 7, 3, 11, 19, 6, 13} Find X=22; Find the no of pairs index which sums up to X For example output : (0, 3, 5) index B. Find the Diameter of Tree C. Design Your own Cache. Round 2:NA Round 3: NA
1 min read
Turvo Interview Experience for Associate Software Engineer(2 yrs exp)
Before the interviews, I appeared for an online Assessment on Hacker-rank which consisted of two questions:  Given a number of people 'n' and a number of groups 'k', find the distinct options to form 'k' contiguous groups out of the 'n' people while respecting the following conditions: In each option, the total of group sizes is equal to the number
3 min read
Microsoft Interview Experience | IDC Bangalore | 3 years exp | January 2020
I got referred by a college senior. The process took 2 weeks in total. 1 telephonic round, asking about my experience as some basic DS questions. After 4/5 days, got invited to interview with them in their Bangalore office.( I was already in Bangalore) 4 Back to Back rounds with 1 hour lunch break in the middle. All the rounds went on for 45 mins t
5 min read
Factset Systems Interview Experience for Software Engineer(1/2 Yr Exp.)
The process to hire an experienced professional in Factset is that an HR will call you to schedule an interview. Then for me, it was about 2 technical rounds, 1 managerial round & finally an HR round. After the HR round, I had a salary discussion with that as well, so in a way, you can say that if you are in HR round then you will get the offer
2 min read
Practice Tags :