Amazon | SDE1 | Feb 2020 Onsite

Today I have got an onsite interview. I have met four interviewers. From each of them I have got half part about work exprience related with the amazon leadership principles and half about technical question.

The technical part consisted of two design questions and two algorithms.

  1. First design question is to think about a bookstore system. The database diagram, and some details.

  2. design a search filter, whiteboard coding, and I had to refactor and apply some design patterns when the interviwer add some more details.

  3. First I got #155 Min Stack, but the interviewer discovered that I had known the question so he changed to another one similar to #387 in streaming. Design a data structure that supports two operations, one is add number, second is getFirstNoDuplicatedNumber.

  4. serialize and deserialize a binary tree #297 and my solution to this.

I hope I'm lucky enough

Comments (6)