Online Test: It consisted of 4 sections:
Debugging Question (Level was quite easy)
Create Music Recommendation System for Amazon Prime(Almost Similar to the below link).
Find Maximum Average in n-ary Tree.
Work-Life assessment (Basic Situational Questions)
Aptitude and logical reasoning (You should keep track of time while solving this section)
Out of around 2500 students who participated in the 1st round, 70 were shortlisted for the next round.
Technical Interviews (On amazon chime): The Interview was of 60 min (approx). For the first 5 minutes, I gave my introduction and after that, the interviewer gave his introduction and his position and current project at Amazon.
The first question was to find the complexity of the following program:
//Some O(1) Code
Gave the Answer and formula for the complexity of code. The Interviewer told me that it is Correct.
The second question was to find the GCD of numbers between the given range(l,r) in an Array.I came up with the brute force approach and explained it to him. But he asked me to code only in Optimised Solution. Unfortunately, I was not able to code the Optimised Solution (Segment Tree Approach) but explained it to him.
The third question Bitwise XOR of two numbers in an array.I asked him for the input constraints and came up with optimised approach, and he was satisfied with the explanation. Then he asked me to code it. I wrote the code, and he pointed out that I have missed an edge case. Corrected the code, and he told me that my solution is correct.
- Ask as many questions as you can.
- Always ask about the input constraints before coding your solution.
- Be Confident and Share your thoughts with the Interviewer during the entire Interview.
Results are expected to be declared for the next round.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.