Amazon Interview Questions

Amazon Coding & Algorithms Interview Questions

Practice 689 real Amazon interview questions for 2026. Covers all top categories — Coding & Algorithms, Behavioral & Leadership, Machine Learning, Data Manipulation (SQL/Python), and System Design — across Software Engineer, Data Scientist, Machine Learning Engineer, Product Manager, and Business Intelligence Engineer roles. Real Amazon interview questions from actual interviews with detailed solutions; use this collection for interview preparation that emphasizes shipping at scale, measurable impact, and the company’s Leadership Principles. Expect coding-heavy assessments for Software Engineer candidates: frequent tree and dynamic-programming problems, two-array optimization patterns, nested object/path lookups, and system-design prompts that mirror product flows (online Minesweeper, pizza-ordering, credit-card and shipping/cost systems), plus leadership and collaboration behavioral prompts. Data Scientist rounds concentrate on experimentation and metrics (A/B design, hand p-values, D7 retention SQL), RAG/recommender evaluation, and product-impact analyses. ML Engineer questions focus on production model design, LLM/agent concepts, reliability (cold start, training stability, online vs offline gaps), and large-scale detection pipelines. PM interviews stress customer-obsessed stories, ambiguity, Alexa product launches, and domain-specific data pipelines. Prepare with timed coding practice, end-to-end experiment writeups, STAR stories framed to Leadership Principles, and mock system-design sessions.

689 Questions 1 Company08.11.2026
Showing 20 results
Role
Amazon logo
Amazon
Medium
Software Engineer

Implement a Single-Node Priority Pub/Sub

Implement a simplified in-memory publish-subscribe system that runs on a single machine. The system should support users subscribing to topics with a ...

Software Engineering Fundamentals
3
0
68 people solved
Apr 9, 2026
Amazon logo
Amazon
Hard
Software EngineerIntern

Return all valid word-break sentences

Given a string s and a dictionary of strings wordDict, insert spaces into s to form a sentence such that every token is in wordDict. Return all possib...

Coding & Algorithms
12
0
211 people solved
Jan 15, 2026
Amazon logo
Amazon
Hard
Software Engineer

Design a URL shortening platform

Design a Scalable URL Shortening Platform Context Build a Bitly-like URL shortener that maps long URLs to short codes and performs HTTP redirection re...

System Design
13
0
137 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Software EngineerSenior+

Design an Offline Multi-Device E-Book Reader

Design an Offline Multi-Device E-Book Reader Design an e-book reader service with APIs, database schema, and overall architecture. A user may read off...

System Design
1
0
19 people solved
Jan 1, 2026
Amazon logo
Amazon
Easy
Data Engineer

Solve two string problems

You are asked to solve the following two coding problems. 1. Count unique Morse code translations You are given an array of lowercase English w...

Coding & Algorithms
7
0
111 people solved
Jan 24, 2026
Amazon logo
Amazon
Medium
Software Engineer

Design a Ride-Hailing Matching System

Design a ride-hailing matching system similar to a taxi or rideshare application (e.g. Uber, Lyft, DiDi). The interview focuses on the driver-location...

System Design
17
0
132 people solved
Apr 9, 2026
Amazon logo
Amazon
Medium
Data Scientist

Compute an A/B test p-value by hand

In an A/B test on a game feature, you measure conversion rate (binary outcome). - Control: n₁ = 1000 users, x₁ = 120 conversions - Treatment: n₂ = 980...

Statistics & Math
12
0
101 people solved
Nov 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Write SQL window functions for D7 retention

Assume you have the following tables (timestamps are in UTC). 1) game_sessions - user_id (STRING) - session_start_ts (TIMESTAMP) - country (STRING) Ea...

Data Manipulation (SQL/Python)
11
1
159 people solved
Nov 4, 2025
Amazon logo
Amazon
Medium
Software Engineer

Solve Nearby Inventory and Word Segmentation Tasks

Two Algorithmic Tasks Implement both parts. They are independent and should have separate functions. Part A - Nearby Centers with Inventory An undirec...

Coding & Algorithms
1
0
17 people solved
Feb 2, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad

Design a pizza ordering system

Design the core object-oriented model for a pizza ordering system used by a small restaurant. The system should allow customers to: - browse a menu of...

Software Engineering Fundamentals
10
0
165 people solved
Oct 24, 2025
Amazon logo
Amazon
Easy
Data ScientistIntern

Answer Amazon Leadership Principle Scenarios

In an Amazon Data Scientist intern virtual interview, answer behavioral questions using the STAR method and tie each story to Amazon Leadership Princi...

Behavioral & Leadership
30
0
209 people solved
Apr 3, 2026
Amazon logo
Amazon
Hard
Software Engineer

Design delayed job scheduler (LLD)

Design a Delayed Job Scheduler (Low-Level Design) Design a service that schedules a job to execute X seconds in the future with second-level accuracy....

System Design
33
0
458 people solved
Aug 7, 2025
Amazon logo
Amazon
Easy
Data ScientistSenior+

Describe a challenging project

You are interviewing for an L5 Data Scientist role. Answer the following behavioral questions in a way that demonstrates Deliver Results: 1. Tell me a...

Behavioral & Leadership
6
0
68 people solved
Jan 12, 2026
Amazon logo
Amazon
Medium
Software Engineer

Design a Multi-Provider Financial Dashboard

Design a financial dashboard that shows account balances, stock holdings, cryptocurrency holdings, and derived portfolio metrics. Data arrives from mu...

System Design
1
0
21 people solved
Feb 2, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Design a High-Availability Load Balancer

This question evaluates knowledge of distributed systems and load balancing principles, covering high-availability architecture for HTTP/HTTPS traffic...

System Design
19
0
185 people solved
May 9, 2026
Amazon logo
Amazon
Medium
Software Engineer

Minimum Path Length Through a Grid With One Allowed Cell Conversion

You are given an m x n grid grid where every cell holds either 1 (an open cell you may stand on) or 0 (a blocked cell). You start at the top-left cell...

Coding & Algorithms
1
0
16 people solved
Jun 30, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Implement Review Content Moderation

This question evaluates a candidate's ability to implement consistent server-side content moderation and stateful persistence handling in a backend se...

Software Engineering Fundamentals
11
0
124 people solved
May 24, 2026
Amazon logo
Amazon
Easy
Software EngineerIntern

Describe handling deadlines, pride, and conflict

Behavioral questions Answer the following interview prompts with concrete examples from your past work/school/internships: 1. Tight deadline: Tell me ...

Behavioral & Leadership
11
0
168 people solved
Feb 11, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer Locked

Design a computer-use agent end-to-end

This question evaluates competency in designing end-to-end multimodal interactive ML systems, including perception from pixels and accessibility trees...

ML System Design
16
0
126 people solved
Jan 22, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Design multi-tenant ingestion and processing platform

This question evaluates a candidate's ability to architect scalable, multi-tenant data ingestion and processing platforms, assessing competencies in t...

System Design
19
0
166 people solved
Jan 6, 2026

Frequently Asked Questions

How difficult are Amazon interview questions for software, data, and product roles?
Amazon interviews are competitive and deliberately broad: expect medium-to-hard algorithmic coding for software roles, deep design thinking for system and architecture questions, rigorous experiment and metrics work for data roles, and leadership-driven behavioral prompts for product and PM positions. Difficulty scales with level; early-career loops focus on correctness and problem patterns, senior loops demand scalable design, tradeoff justification, and measurable impact. The Bar Raiser raises the bar on long-term ownership and cultural fit. Overall, the process weeds for both technical depth and the ability to explain tradeoffs, so prepare to demonstrate repeatable problem solving under time pressure.
What is the Amazon interview process and where do the top categories and positions appear in the loop?
Amazon typically uses a staged process: resume screen, role-specific assessments or phone screens in some tracks, then the onsite loop of 4–6 interviews including a Bar Raiser. Coding and algorithms rounds dominate for Software Engineer interviews, while system design appears in one or more senior technical rounds. Data Scientist interviews blend SQL/Python casework, A/B test design, and inferential questions. Machine Learning Engineer loops probe model deployment, offline to online debugging, and NLP/agent design. Product and BI roles focus on metrics, product tradeoffs, and Leadership Principles throughout the loop, with role-specific deep dives tied to the job description.
How long should I prepare for Amazon interviews and what should a timeline look like?
Aim for a focused 6–12 week plan for experienced roles and 4–8 weeks for early-career candidates. Weeks 1–3: shore up fundamentals — arrays, trees, graphs, DP, and core SQL windowing. Weeks 4–6: simulate timed coding rounds, practice system design high-level tradeoffs, and build STAR stories mapped to Leadership Principles. Weeks 7–10: run mock loops with behavioral pressure, refine experiment and ML case studies, and rehearse tradeoff conversations. Leave final 1–2 weeks for targeted practice on role-specific themes such as shipping costs, RAG evaluation, or Alexa product scenarios.
Which key subtopics should I master to perform well across Amazon's top roles?
Master algorithmic patterns including trees, dynamic programming, two-pointer and graph traversals, and complexity justification for coding rounds. For system design, focus on APIs, data models, scaling, caching, reliability, and monitoring. Data roles require SQL window functions, cohort and retention analysis, A/B test design and power, and RAG/evaluation methods for ML-backed features. Machine learning engineers must know model stability, cold-start strategies, online-offline mismatch debugging, and agent alignment basics. Product candidates should be fluent in metric design, customer-observed data pipelines, and prioritization with quantifiable impact.
What standout tips and common pitfalls should I know before interviewing at Amazon?
Start every behavioral or technical story with context and measurable outcomes; interviewers care about specific impact and tradeoffs. Use STAR for leadership prompts but emphasize metrics and follow-on changes. In coding, verbalize assumptions, test edge cases, and discuss complexity and alternative approaches. In design rounds, ask clarifying questions, scope deliberately, and justify scaling choices. Common pitfalls include weak quantification of impact, ignoring the Leadership Principles, failing to probe requirements, and delivering designs without operational considerations. Practice mock loops and incorporate Bar Raiser-style feedback to close gaps before the real loop.

Explore more Amazon interview questions

Jump straight to Amazon questions for a specific role or category.

By role
By category
In-depth guides
Across all companies

Featured Amazon interview prep guides

Concept walkthroughs, worked examples, and the real questions from candidate reports.

Editorial prep
Data Scientist
Amazon interview
Read the guide
Editorial prep
Software Engineer
Amazon interview
Read the guide