As far as I remember the first coding question’s logic was to find GCD of an array of number which I solved using recursive approach.
I cleared the round 1.
It was a F2F round where 3 members were assigned to a particular member. They gave us 2 questions and write the pseudo code for them in 1 hour during which we also can interact with them.
I asked them where I had doubt and after I say logic to him he asked me that if I can optimize it, explain the code so on.
As I gave him all the optimisations he asked algorithmically , I was not able to write a clean code because of lack of time.
I selected as 8th candidate.
This was also a F2F round and it is one to one. Where his first question was that why did I not write any code in previous round and then asked ” Tell me about yourself”
Then he shooted me with coding questions. His first question was a popular question(which I came to know later) rainwater problem, and the next one was printing the nodes of a binary tree in zig Zag manner.
Then he asked me some questions from OS i.e. internal fragmentation vs external fragmentation to which I replied “I don’t remember the topic but please let me try” then I got correct answer to one question and wrong to second one. Then he asked about process life cycle.
Then he asked that if I have any questions and then he asked ” why Amazon?” That was it.
We were said to wait and luckily I was selected.
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or 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.
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.