I applied off campus through referrals that are rolled out frequently and during one of the hiring drives, I got a mail for interviews. They had the following things planned.
· Written Test on Coding- 45 Mins
· 4 Technical rounds on Competencies: Coding, Problem solving, Algorithm, Data Structures, Computer science fundamentals
Each round is an elimination round. One important thing for all the rounds is to be aware of Amazon’s principles and their STAR (Situation, Task, Action and Result) method to answer questions.
They will have 3/4 sets of two questions and you will be given one of the sets. For me the questions were:
This round started with my introduction. Then he asked two technical questions of moderate difficulty based on arrays primarily. One of the question was:
The other question was around arrays and map and was doable. Then he asked me about one of my projects and how I showed ownership there. This round lasted for around an hour.
I was told that since my previous round was really good so this round will be a shorter one. He asked me just one technical question around trees. The question was to find the right view of the tree but he didn’t give out all the details in the beginning. There was a condition that the vertical depth of the nodes have to be considered too. The node with the largest vertical depth on a particular level of a tree had to be considered. I used a hashmap and a queue for solving this and he was satisfied with my approach. This round lasted for around 30 minutes. They filtered a lot of candidates after this round.
This around lasted for around 2 hours and they asked questions from every possible topic, coding, theory, behaviour, projects and what not. There were two interviewers, one of them was a shadowing interviewer so she was just observing me. The coding question asked were:
- We have a company where unique alias has to be allotted to all the employees and an alias is the smallest unique prefix of the employees’ name. Here, same alias cannot be given more than once say for 6 Tanyas, alias would be T, Ta, Tan, Tany, Tanya, Tanya_2 respectively and for the last Tanya since the complete name has been taken before so the alias would be the name appended by the number of times the alias has been repeated. I suggested the use of Tries with storing the count for every alias that is allotted and he asked me to return the alias for every new employee who comes.
- Find the maximum length of subarray where the product of array elements = the LCM of those elements. I suggested him the use of GCD here because the GCD would be 1 for the elements that satisfy this condition. He gave me a range so the final solution that I proposed was to store unique prime factors of all the numbers before and then find the range in a single traversal, keeping track of the start and end.
He then asked me questions around Networking. How does a server respond to a client’s request and how is the connection established. Then I was asked questions around cryptography and the Digital Signature algorithm. He then asked me why Amazon and why not the other companies that you have offers with.
This round was scheduled after 4 days and it was VC round. This round was a bar raiser round so they asked easy technical questions and was focused on principle based skills as well. He started off with asking the condition of a tree being balanced and then asking the code for it. Then he asked me for code to check if an array is a subarray of other array. He didn’t want the usage of extra space. He asked me about the sorting algorithms that I know of and pointers about each. Then he asked me about deadlock and how can it be resolved using code. Then another interviewer joined and they asked about situation where I faced deadlock and how I overcame that. I was asked about situations where I took the ownership and stuff like these. Remember their principles and build your answers around them. This round lasted for around 40 minutes.
- Amazon Interview Experience | SDE-1 (Off-Campus)
- Amazon Interview Experience | Set 223 (On-Campus)
- Amazon Interview Experience | 220 (On-Campus)
- Amazon Interview Experience | 219 (On-Campus)
- Amazon Interview Experience | Set 212 (On-Campus)
- Amazon Interview Experience | Set 210 (On-Campus)
- Amazon Interview Experience | Set 209 (On-Campus)
- Amazon Interview Experience | Set 206 (On-Campus for SDE-1)
- Amazon Interview Experience | 218 (On-Campus)
- Amazon Interview Experience | 217 (On-Campus)
- Amazon Interview Experience | Set 203 (On-Campus for SDE-1)
- Amazon interview experience | Set 384 (On-Campus for FTE)
- Amazon Interview Experience | Set 280 (Off-Campus)
- Amazon Interview Experience SDE Off Campus
- Amazon Interview Experience (On-Campus)
- Amazon Interview Experience | 380 (On-Campus)
- Amazon Interview Experience | Set 229 (On-Campus for SDE)
- Amazon Interview Experience (On Campus for SDE-1)
- Amazon Interview Experience | Set 390 (On-Campus)
- Amazon Interview Experience | On-Campus for SDE-I
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.