Each round of 1 hour
Every round two people came. Some were shadows and some asked questions as well.
Round 1:
Started with introduction and Why amazon? follow up questions and some LP questions
Problem:
Logs are given having timestamp, usedID and messages. You need to find most K freqeuent users. I used hashmap and priority queue and was able to come up with solution.
Round 2:
Something related to finding last most appeared element in a given array stream [ data will keep on coming ]. Array can have duplicates as well. For example,
Input : 1,2,3,4,5,1,3,4,5
Output : 2
Input : 1,1,1,1
Output : 1
Input : 1,2,3,4,1,2,3,4
Output : 1
Input : 5,4,5,4,5
Output : 4
Input : 3,3,4,4,5,5,6,6,6,7,8,9,3,4
Output : 5
It took time for me to come up with solution and i asked him for hint though i was going on a correct approach of using hashmap. He gave a hint saying you are on correct path.
Followed by some LP questions.
Round 3:
Totally based on LP and resume. He grilled me alot in depth on my resume. Asked each and every detail of resume projects and past experience. There was an activity where he asked to explain my past projects on white board. He was a manager and many LP questions were asked.
Round 4:
Started in depth about resume projects and LP questions on all principles.
System design questions was on Amazon prime vedio which i think i did well.
Round 5:
Two managers. Asked all questions based on LP and resume. This was best round for me and they were happy on my responses.
Tips:
I havent got any decision yet but i do not expect anything since i just went to take a experience of the interview process. They expect alot from you and it is tough to crack such interview [ Sometimes luck matters ]. I would suggest everyone not to take much pressure and just enjoy the interview process.