I was interviewed in Delhi for SDE-I position in Kindle Frameworks Team at Amazon. I was working as a Project Lead in Samsung, Noida and had a total experience of 1 year 10 months in the Software Industry.
Round 1 : Written
- Print Boundary Traversal of a Given Binary Tree
- Add Two Numbers Represented by Linked Lists
- Print all Possible Permutations of a Given String by Placing Spaces (zero or one)
There were about 80 candidates and the time allotted for this round is 1 hour. I was able to write all the 3 codes correctly in just 20 min and was the first candidate to move onto the second round.
Round 2 : Problem Solving (F2F)
- Median of Two Sorted Arrays
- Equal Size
- Different Sizes
- Maximum Size Square Sub-matrix with all 1s in a Given Boolean Matrix
Round 3 : Design and Data Structures (F2F)
- Behavioral Questions :
- Tell me about your Current Projects in Samsung.
- What are your responsibilites as a Project Lead ?
- Why do you want to join Amazon when you are doing so good in Samsung ?
- At last a 15 min discussion about the most difficult problem I ever faced and how I tackled it with my coding skills and knowledge.
- Given a Sorted Dictionary of an Alien Language, Find Order of Characters
- What do mean by Dynamic Binding and Virtual Functions in C++ ?/
- Discussion about Mutexes, Semaphores, ISR (Interrupt Service Routines), Deadlocks./
The interviewer was highly impressed with my coding skills and shook hands with a sense of approval.
Round 4 : Hiring Manager (F2F)
The Hiring Manager introduced himself and told me that I’ve been doing really great till now. Then he grinned at me and said “ Lets hope you don’t mess it up in this round “ .
(1) Which Sorting Algorithm is the fastest and why would you prefer it over others ?
While telling the answer, I said in between “ If there would have been millions of numbers…… “ and he caught that specific word of mine “millions” and hence the next 2 questions found the way on their own.
- In a city with millions of people, I want to sort them on the basis of their age. Which Sorting Algorithm would you use and why ?There’s a Galaxy with Billions of Stars and distance of each star from the Sun is given . I want the closest 1 million stars from the Sun. Which Data Structure would you use and what would be the complexity ? (It is a variation of Finding K Smallest Elements in an Array)
- Find distance between two given keys of a Binary Tree <
He scrutinized the entire code for any possible errors and found it perfect.
- Discussion about Inner and Outer Joins in SQL. http://quiz.geeksforgeeks.org/inner-join-vs-outer-join/
Then he stood up and shook my hands with a broad smile and said “ Well Done Man ! ” and left.
Round 5 : Bar Raiser (F2F)
- Design an Algorithm to Transform One Word to Another through Valid Words of a Given Dictionary. (It is clearly a variation of the Edit Distance Problem, but in Edit Distance we do not care about if the intermediate word is valid or not)
Only this question was asked in this round and the discussion went on for about 45 minutes.
All credit goes to https://www.geeksforgeeks.org/ team for providing such an inspirational and a brilliant platform for coders. Keep it up guys, Way to go !
Suggestion for other candidates interviewing at Amazon :
- Try to write Neat and Clean codes without any cutting or hassle, taking care of all the boundary cases.
- Be very precise and explicit in your answers. Keep Coding and All the Best !
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above
My Personal Notes arrow_drop_up
- Amazon Interview Experience Offcampus for SDE-1
- Amazon Interview Experience | SDE-1 offcampus
- Amazon interview Experience | Set 140 (Experienced for SDE)
- Amazon Interview Experience | 402 (Experienced for SDE 2)
- Amazon Interview Experience | Set 294 (Experienced)
- Amazon Interview Experience | Set 268 (Experienced)
- Amazon Interview Experience | Set 433 (SDE 2 for Experienced)
- Amazon interview experience for Experienced
- Amazon Interview Experience | Set 269 (1 year experienced for SDE-1)
- Amazon Interview Experience | Set 264 (Experienced for SDE1)
- Amazon Interview Experience | Set 232 (SDE-1 for 1 Year Experienced)
- Amazon Interview Experience | Set 233 (1 Year Experienced for SDE-1)
- Amazon Interview Experience | Set 240 (1.5 Year Experienced for SDE-1)
- Amazon Interview Experience | Set 245 (For 2.5 Years Experienced)
- Amazon Interview Experience | Set 259 (1 Yr Experienced for SDE1)