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 EngineerIntern Locked

Resolve Conflict and Challenge Project Decisions

This question evaluates conflict resolution, ownership, stakeholder management, technical judgment, and the ability to earn trust and influence within...

Behavioral & Leadership
22
0
191 people solved
May 19, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Design streaming error-log counting with moving average

Design a core component in a streaming system: Input: - Multiple upstream services continuously emit log events. - Each event includes at least: servi...

System Design
158
0
2520 people solved
Dec 17, 2025
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Compute the Median After Each Stream Insertion

Compute the median after every insertion into an integer stream without repeatedly sorting the full prefix. Practice maintaining balanced data structu...

Coding & Algorithms
2
0
26 people solved
May 29, 2026
Amazon logo
Amazon
Medium
Data Scientist Locked

Predicting the Next Elevator Call Location

This machine learning question tests the ability to design a predictive model for spatio-temporal demand forecasting, covering problem framing, featur...

Machine Learning
5
1
67 people solved
Jun 8, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Find the Minimum Processing Rate to Meet a Deadline

Find the smallest integer processing rate that completes independent workloads before a deadline when unused hourly capacity cannot be shared. The pro...

Coding & Algorithms
2
0
28 people solved
May 29, 2026
Amazon logo
Amazon
Medium
Software Engineer AI Locked

Fix the Password Reset Workflow

This question evaluates debugging and software engineering fundamentals around authentication flows, including verification code generation and expiry...

Software Engineering Fundamentals
43
0
344 people solved
Apr 14, 2026
Amazon logo
Amazon
Easy
Data Scientist

Answer Amazon-style behavioral questions

You are interviewing for a role at Amazon and are asked the following behavioral questions. Answer each using the STAR method (Situation, Task, Action...

Behavioral & Leadership
109
0
760 people solved
Feb 13, 2026
Amazon logo
Amazon
Medium
Software Engineer

Clarify and Solve a Rotate-or-Flip Array Puzzle

Clarify and Solve a Rotate-or-Flip Array Puzzle An interviewer gives you an array of distinct integers and asks for the minimum number of rotate or fl...

Software Engineering Fundamentals
3
0
27 people solved
May 25, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Choose Work-Style Assessment Responses

This question evaluates work-style and behavioral competencies such as initiative, adaptability, dependability, attention to detail, and internal cons...

Behavioral & Leadership
19
0
161 people solved
May 28, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Design a Core Dump Collection and Analysis System

Prepare for a Amazon system design interview about design a core dump collection and analysis system. This question focuses on requirements, architect...

System Design
3
0
43 people solved
Jun 4, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer

Design an S3-like object storage service

Design a cloud object storage service similar to Amazon S3. The service should allow clients to upload, store, and download large files reliably and e...

System Design
37
0
348 people solved
Dec 8, 2025
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Design a Scalable and Polite Web Crawler

Design a horizontally scalable web crawler with a durable frontier, host-level politeness, deduplication, parsing, and recrawl planning. Examine URL n...

System Design
2
0
16 people solved
May 29, 2026
Amazon logo
Amazon
Easy
Data ScientistIntern

Evaluate NLP Classification Models

You are interviewing for a Data Scientist internship at Amazon. The interviewer asks you to walk through how you think about an NLP classification pro...

Machine Learning
21
0
254 people solved
Apr 3, 2026
Amazon logo
Amazon
Easy
Data EngineerIntern

Answer Amazon Behavioral Questions

Question You are in the behavioral portion of an Amazon final-round interview (Software Development Engineer internship). Prepare strong, structured r...

Behavioral & Leadership
22
0
278 people solved
Feb 23, 2026
Amazon logo
Amazon
Hard
Software EngineerSenior+

Implement a Half-Open Interval Range Module

Implement a Half-Open Interval Range Module Implement a module that tracks subsets of the real-number line using half-open intervals [left, right). Pr...

Coding & Algorithms
1
0
19 people solved
Jul 5, 2026
Amazon logo
Amazon
Medium
Data Scientist Locked

Monthly Cohort Retention

This question evaluates practical SQL skills in user retention analysis, specifically the ability to build a monthly cohort retention table from raw a...

Data Manipulation (SQL/Python)
3
0
32 people solved
Jun 8, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad

Solve tree and DP problems

This coding round contained two algorithm questions: 1. Deepest shared ancestor in a binary tree You are given the root of a binary tree and two ...

Coding & Algorithms
39
0
274 people solved
Oct 24, 2025
Amazon logo
Amazon
Easy
Software EngineerNew Grad

Answer Leadership and GenAI Behavioral Questions

Prepare structured behavioral interview answers for the following prompts. Use specific real experiences, quantify impact when possible, and be ready ...

Behavioral & Leadership
10
0
134 people solved
Nov 22, 2025
Amazon logo
Amazon
Hard
Software Engineer Locked

Prepare Leadership Principle Stories

This question evaluates leadership, ownership, decision-making, communication, and problem-solving competencies through concrete first-person project ...

Behavioral & Leadership
16
0
301 people solved
May 11, 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
212 people solved
Jan 15, 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