Amazon | New Grad 2022 | SDE 1 | Round 1
Anonymous User
5268

I gave my first round today

The interviewer was a SDE-2 in Amazon and was very friendly.

These were the questions asked.

Question 1:-

https://leetcode.com/problems/final-prices-with-a-special-discount-in-a-shop/

I was able to identify the pattern quickly , explained the stack based approach and coded it quickly.
The interviewer had some questions about the approach but was satisfied at the end.

Time spent : 20-25 min

Question 2:-

https://leetcode.com/problems/minimum-cost-to-connect-sticks/

I quickly came up the min heap approach and explained how the logic would work.The interviewer asked whether I've seen this problem before ,I said yes.The interviewer liked the fact that I was honest and didn't ask me to code this and gave an other question.

Time spent :- 5-10 mins

Question 3:-

https://leetcode.com/problems/binary-tree-maximum-path-sum/

I explained the dfs approach and gave a example with the tree the interviewer gave.The interviewer was satisfied and asked me code it out.There was a small mistake in my code which I was able to identify with the hints given.

Time spent :- 25-30 min.

I'll update my post if I'm called for the second round.

Update : I was called for the next round. You can find it here

Comments (7)