Interviewer was SDE2
3 questions:
1st one was to explain data structures that i know
- i explained only map, but he asked for others so i mentioned linkedlist, double linked list
- followup: what's the advantage of double linked list over single linkedlist & application of double linked list
2nd one was variation of top k elements in a stream
- gave my approach within few minutes and coded the solution mentioning my assumptions for input & output since he did not provide me expected input & output
3rd one low level design - amazon locker system
- asked clarifying questions
- came up with the classes
- mentioned my assumptions
- came up with the code for minimum viable product (MVP)
Verdict: Passed
Comments (4)


