Amazon || SDE2 || Rejected
Current Experience: 3 year+ at a product based MNC
Recently I appeared for SDE 2 role in Amazon.
There were total of two rounds of interview for me. Both rounds were on Saturday.
OA round -
Two easy to medium leetcode coding question and lot of LP based MCQ questions.
First round -
It started with introduction and then project discussion.
Then he asked leadership principal questions and I struck while anwersing few of them.
He said there will be two questions, one medium and another medium-hard level question.
https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/description/
I gave O(V+E) then space O(n) then space (E) then space O(h) solution but he insisted to do in O(1).
He was giving hint as well but I could not crack.
He did not ask second question because i could not give most optimized solution for first question.
Second round -
Interviewer came unprepared. It started with introduction and then project discussion.
30 min leadership questions, few were like below:
He then asked one easy coding question :
https://leetcode.com/problems/top-k-frequent-words/description/
I gave most optimized solution after giving brute force solution.
In last, I asked few questions on his work in amazon payment.
First round was not good but second round was good.
I did not ask feedback because first round did not go well both on LP and coding question.
Hope it will help others.