Amazon SDE-2 (L5) India | OA + 4 Interview Rounds | ~4 YOE
Role: Software Development Engineer II (L5)
Location: India
Experience: ~4 YOE
Language: C++ for DSA
Focus: DSA, Low-Level Design, High-Level Design, and Leadership Principles
Sharing my experience from an Amazon SDE-2 interview loop. It included OA and four technical interviews, with Leadership Principles discussed alongside the technical rounds.
Online Assessment (OA)
Coding: Lexicographically Largest Shipment Order
Given an array representing shipment order and a window size K, choose a contiguous window of length K, sort it, and determine the lexicographically largest resulting shipment sequence.
Repository-Based Coding: Review Moderation System
This was a MERN application with an existing review-management API. The task was to fix the moderation logic and rate-limiting behavior rather than build everything from scratch.
The repository already contained controllers, models, and other supporting logic. The challenge was understanding the existing code and making targeted changes that passed the test cases.
This was a good reminder that repository-based coding is different from a normal LeetCode problem. You need to understand the existing flow, handle edge cases, and avoid breaking unrelated behavior.
Work Simulation and Work Style Assessment
Interview Round 1 - LLD + Leadership Principles
Technical: Design an Extensible Return Resolution System
Problem statement:
Design a system that determines the available resolutions when a customer wants to return a product.
Initially, the system should support:
- Return
- Refund
However, it should be easily extensible to additional resolutions such as Gift Card.
Different products, categories, and marketplaces may have different business rules.
For example, a product costing less than $100 might qualify for a particular refund option, while another product might qualify for multiple resolutions.
Leadership Principles
Customer Obsession
Question: Tell me about a time when you had to balance the needs of your customer with the needs of the business.
Interview Round 2 - DSA + Leadership Principles
Technical: Maximum Earnings Across Warehouses
Problem statement:
A driver travels through warehouses arranged in a fixed order.
Each warehouse has an associated value, which can be positive (earnings) or negative (tolls/costs).
The driver:
- Must start at the first warehouse.
- Must end at the last warehouse.
- Can skip at most K consecutive intermediate warehouses between visited stops.
- Wants to maximize total net earnings.
Example values discussed included:
[100, -30, -50, -50, -20, -30], with K = 3.
Leadership Principles
Learn and Be Curious / Dive Deep
Question: Tell me about a challenging project where you had to research an unfamiliar area extensively.
Interview Round 3 - DSA + Leadership Principles
Technical: Assign Escalations to Teams to Maximize Business Value
Problem statement:
There are N customer escalations and three teams available to handle them.
For every escalation, we are given the business value of assigning it to each team.
The value is -1 if a particular team cannot handle that escalation.
Each team has a maximum capacity, and every escalation must be assigned to exactly one eligible team.
Find the maximum total business value.
Example:
Value matrix:
[10, 5, -1]
[ 7, 12, 4]
[-1, 8, 15]
[ 9, -1, 6]
Team capacities: [1, 2, 1]Leadership Principles
Deliver Results
Learn and Be Curious
Interview Round 4 - HLD + Leadership Principles
Technical: Design an Online Multiplayer Battleship Game
Problem statement:
Design an online Battleship game where two players can play against each other.
The system should support ranked matchmaking, game management, and turn-based play.
Additional requirements introduced:
- Players should be matched with opponents having similar ratings.
- Games are turn-based and do not require both players to remain online.
- A player can take up to two days to make a move.
- Users can participate in multiple games simultaneously.
- The system should prevent automated abuse and excessive move submissions.
- The application should support users across multiple regions.
Leadership Principle
- Receiving critical feedback and changing how I worked.
- Disagreeing with a technical decision but committing after a decision was made.
- Demonstrating ownership beyond individual tasks.
Verdict
- REJECTED
- But was offered System Development Engineer 2 role but was not looking for a support engineer kind of role so declined.


