Amazon SDE 2 Backend Interview Exp || Offer || August
Giving back to the community as this helped me a lot.
Round 1 (OA)
Standard OA questions, don't remember the exact questions.
Round 2 (Screening Round):
LP questions (10 mins)
Problem : Design Type ahead search (LLD + DSA)
Complete working code was not expected. It was expected to implement some parts of the problem. Like creating a trie and caching results at each node. Result of parent node can be formed by union of children nodes.
Round 3 (DSA)
LP questions (10 mins)
Was asked 3 problems:
- https://leetcode.com/problems/brick-wall/description/
- https://leetcode.com/problems/maximum-difference-between-node-and-ancestor/description/
- https://leetcode.com/problems/number-of-islands/description/
Implemented all 3, gave working solutions.
Round 4 (LLD)
LP questions (15 mins)
Was taken by head of engineering of Amazon.
Problem : Design BookMyShow.
Very vague problem statement, I was responsible for leading the complete discussion. Designed the classes, methods, interfaces etc.
At the end, I was asked which database to use for storing all the entities, can be a different database for each.
Round 5 (HLD + HM)
LP questions (25 mins)
Design Chess.com (Online).
Tip : Think of it as a chat application between 2 people, instead of messages, you are communicating chess moves.
Round 6 (Bar raiser)
Problem related to computing top K values dynamically, instead of iterating through all values while querying. Don't remember exact problem.
After 2 weeks, got result that I was selected.
#Amazon


