Recently I was reached out by 1 different recruiters from Amazon in the same week, and proceeded with the AWS one.
Compensation and other interview experiences -
https://www.reddit.com/r/TechInterviewsIndia/s/sSDuimoUR6
A bit more context -
https://www.reddit.com/r/LeetcodeDesi/s/6HsAwLE8NS
Online Assessment (OA)
The OA consisted of three parts:
Part 1: Coding
* One LeetCode Hard-level graph problem. * I hadn't seen these exact questions on LeetCode before, but they were variations of concepts I was already familiar with.
Part 2: AI-Assisted Debugging
We were given an existing backend and frontend repository. We could choose our preferred tech stack, and I chose Java with Spring Boot.
The repository was accessible and runnable on HackerRank, and we could also access the UI.
The task was to debug a few issues, with the steps to reproduce each issue provided.
I had faced an almost identical round during my Indeed interview, although the questions were different.
An AI assistant was also available, but there were guardrails in place to ensure that the entire problem couldn't be solved using the AI tool alone.
Part 3: Work Simulation
A series of behavioural and situational questions. The answers were expected to align with Amazon's Leadership Principles (LPs).
I got full scores in the first two parts. Not sure about the third one.
Round 2: DSA
Two DSA questions:
- Find the longest subarray with sum K.
- Follow-up: Count the number of subarrays with sum K.
Round 3: DSA
The first question was a variation of the Monster problem from CSES, involving multi-source BFS.
The follow-up required combining binary search with the existing multi-source BFS approach.
Since I was able to solve both questions within around 40 minutes, the interviewer asked another additional question based on the two-heaps pattern.
For this one, I explained the approach and wrote basic pseudocode, which the interviewer was okay with.
A few Leadership Principles (LP) questions were also asked.
Round 4: LLD
A few LP questions followed by an LLD problem: \*\*Design Amazon Locker\*\*.
The discussion covered:
* Class design. * Extensibility. * Overall design and handling different scenarios.
I was also asked to write basic pseudocode for one of the methods to demonstrate the implementation.
Round 5: Hiring Manager (HM)
Started with a few LP questions and a deep dive into my past experience, followed by an HLD question.
\*\*Problem: Design a Social Media Feed.\*\*
We discussed the overall design, followed by several cross-questions, primarily around:
* Designing and scaling Redis. * Handling the celebrity problem (hot keys). * Kafka internals. * Handling hot partitions. * Choosing between SQL and NoSQL. * Database schema and read/write patterns. * Database scaling strategies. * Sharding logic. * Distributed transactions, including a particular part of the design where they were required.
Round 6: Bar Raiser
The recruiter had informed me that this would primarily be an LP + LLD round. However, I was asked an HLD question along with LP questions.
\*\*Problem: Design a Top-K Leaderboard.\*\*
There were several follow-up questions around:
* Database schema and database selection. * System consistency. * Maintaining low-latency updates. * Choosing Redis and Kafka. * Aggregation logic. * Redis Lua scripting for atomic transactions.
I brought up using Lua scripting to execute atomic operations on Redis, following which the interviewer asked a few additional questions around its implementation and usage.