Amazon interview questions for software engineers
Amazon is the only major tech company where the behavioral round determines the offer more than the coding round. The 16 Leadership Principles run through every interview, the bar raiser holds veto power, and the rubric explicitly weights ownership, customer obsession, and frugality. A candidate with strong code but weak LP stories regularly gets down-leveled or rejected. This guide breaks down the process, the question patterns, and the LP framework using Amazon's public principles and public Glassdoor reports.
Run an Amazon-style mock interview now
Coding round, system design, or LP behavioral with bar-raiser-style follow-ups.
Practice for AmazonThe Amazon interview process
Amazon SDE loops follow a recognizable shape. Recruiter screen (30 minutes). Online assessment (90-120 minutes of timed coding plus a work simulation for some teams). Phone screen (60 minutes, one coding problem plus LP behavioral). Onsite loop (5 rounds, one of which is the bar raiser): two coding rounds, one system design at SDE-II+, one hiring manager round, one bar raiser. Total timeline: 4-8 weeks depending on scheduling.
The bar raiser is the load-bearing piece. They're a trained interviewer pulled in from outside your hiring team, specifically to push back on "good for this team, not good for Amazon" decisions. Their round is structured around Leadership Principles with relentless follow-up. Expect "tell me more about that", "what would you do differently", and "what was the outcome" probes until they hit bedrock. Vague answers get exposed within 30 seconds.
Top 10 technical questions to prepare
Amazon coding questions concentrate on graphs, trees, dynamic programming, and OOP design. These are the patterns from public reports.
- Number of islands and its variants (max area, distinct shapes). Hint: master DFS and BFS, then practice the variant where you must avoid revisiting via a seen set.
- Course schedule / topological sort — detect cycles, return order. Hint: Kahn's algorithm is the easiest to articulate aloud.
- Word ladder — BFS on a word graph. Hint: bidirectional BFS shows seniority; mention it even if you don't implement it.
- Lowest common ancestor — recursion variant. Hint: clarify whether the nodes are guaranteed in the tree before coding.
- Merge K sorted lists — heap or pairwise merge. Hint: both work; explain the complexity difference between them.
- OOD design: parking lot, elevator, vending machine — class hierarchy and state machine. Hint: drive from the user stories, not from inheritance diagrams.
- Find median from data stream — two heaps. Hint: rehearse the rebalancing rules until automatic.
- Maximum subarray (Kadane) and the variant on a 2D grid. Hint: the 2D variant is the differentiator at SDE-II+.
- Coin change / minimum coin problems — DP on subset sums. Hint: clarify whether each coin is unlimited or single-use before writing recurrence.
- Tree traversal with custom serialization — DFS preorder with null markers. Hint: same encoding for serialize and deserialize cuts code in half.
Top 5 system design topics
- Distributed cache — sharding, replication, hot keys, cache stampedes.
- Job scheduler at scale — durable queue, worker pool, retries, dead letters, monitoring.
- Real-time bidding / ad serving — low-latency lookup, budget enforcement, request-response under millisecond SLAs.
- E-commerce checkout flow — inventory locks, payment integration, idempotency, eventually-consistent inventory.
- S3-like blob storage — consistency model, replication, lifecycle policies, large-object support.
Amazon system design rounds love operational concerns: monitoring, alerting, oncall runbooks. Sprinkle these naturally — "we'd export a per-shard latency histogram and alert if p99 crosses 200ms" lands higher than a pure architecture diagram.
Top 5 behavioral questions (Leadership Principles)
- Tell me about a time you took on something significant outside your area of responsibility. (Ownership)
- Describe a situation where you disagreed with your manager — what happened? (Have Backbone; Disagree and Commit)
- Tell me about the most innovative solution you've delivered. (Invent and Simplify)
- Describe a time you had to dive deep into data to find the root cause of a problem. (Dive Deep)
- Tell me about a time you had to deliver more with less. (Frugality)
Use STAR — Situation, Task, Action, Result. Every story needs a measurable result. "We shipped it" without a metric scores at the bottom. "We shipped, reduced p99 latency 40%, and the feature is still running 18 months later" scores at the top.
Tips specific to Amazon's culture
The 16 Leadership Principles are not posters — they're the rubric. Print them out, study them, and pre-write a 90-second STAR story for each. Aim for 12-16 distinct stories covering all 16 principles with at least one story applicable to each. The interviewer literally has a checklist; you want at least one strong match per principle they probe.
Use "I" not "we". Amazon's culture explicitly demands individual ownership signal. "We built this thing" is the most common downgrade trigger in behavioral rounds. Even when work was collaborative, frame your role: "I owned the API design, recruited two contributors, and wrote the migration plan." This isn't bragging — it's giving the interviewer something to grade.
One non-obvious principle: "Are Right, A Lot" implicitly demands a story where you changed your mind based on new data. Senior candidates who can't name a time they were wrong score weakly here. Prepare a clean "I was wrong about X, the data showed Y, here's what I shipped instead" story.
Practice Amazon's bar-raiser-style follow-ups
STAR drills with relentless "tell me more" probes.
Start an Amazon mockFrequently asked questions
How many Leadership Principles questions will I get?
Every onsite round includes at least one Leadership Principle behavioral question, in addition to the technical content. Across a 5-round loop you should expect 5-8 distinct LP questions. Pre-write 12-16 STAR stories covering all 16 principles so you have coverage.
Who is the bar raiser and why do they matter?
The bar raiser is a trained Amazon interviewer from outside your hiring team with veto power. They grade against long-term hire quality, not team need. The bar raiser round leans heavily on Leadership Principles and tough behavioral follow-ups. One vague answer here can sink an otherwise strong loop.
What level should I target at Amazon?
SDE-II is the common "senior" equivalent (3-7 years experience). SDE-III is senior staff (7+ years, scope across teams). Amazon down-levels candidates who score mixed signal — go in calibrated to evidence, not aspiration.
Are Amazon coding questions LeetCode style?
Yes. Coding rounds are similar to Google or Meta in question shape — medium-difficulty algorithm problems. Speed matters less than at Meta; correctness and clean code matter more.
Can I reuse the same STAR story for multiple Leadership Principles?
Once per loop at most. Interviewers compare notes; the same story across three rounds reads as a thin candidate. Build a library of 12-16 distinct stories with multiple LP angles, and rotate.
STAR stories with metrics — the Amazon offer pattern
Drill behavioral with bar-raiser follow-ups. Free trial.
Practice now