Amazon Interview Questions

Amazon Coding & Algorithms Interview Questions

Practice 695 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.

695 Questions 1 Company08.11.2026
Showing 20 results
Role
Amazon logo
Amazon
Hard
Machine Learning EngineerSenior+

Explain Logistic Regression Fundamentals

Logistic Regression from First Principles Assumptions and Notation - Binary classification with labels y ∈ {0, 1} and features x ∈ R^d. - Linear score...

Machine Learning
4
0
65 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Machine Learning EngineerSenior+

Explain Layer Normalization in Transformers

Layer Normalization in Transformers: Placement, Gradients, and Practical Trade-offs Task Explain Layer Normalization (LayerNorm) as used in Transforme...

Machine Learning
12
0
83 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design a keyboard and mouse input system

Question Design an input processing system that captures keyboard and mouse events and can reliably reconstruct what the user typed (answering "what d...

System Design
8
0
78 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Data Scientist

Demonstrate invent-and-simplify and customer communication

Behavioral: Two STAR Stories (Data Scientist, Technical Screen) Provide two concise STAR stories that demonstrate your ability to invent/simplify and ...

Behavioral & Leadership
3
0
52 people solved
Oct 13, 2025
Amazon logo
Amazon
Medium
Data Scientist

Choose regularization norms and model formulations

Regularization and model choice. 1) For linear and logistic regression, write the objective functions with L0, L1, L2, and L-infinity penalties in bot...

Machine Learning
5
0
70 people solved
Oct 13, 2025
Amazon logo
Amazon
Medium
Data Scientist

Demonstrate calculated risk and deep-dive leadership

Describe one project where you took a calculated risk that was outside your formal responsibilities. Context: What was the business or research goal, ...

Behavioral & Leadership
4
0
50 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Data Scientist

Design an operations dashboard with justifications

Design an Operations Dashboard for Same-Day Delivery Station Performance Goal Create a real-time dashboard for a delivery-station manager to monitor a...

Analytics & Experimentation
6
0
49 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Data Scientist

Validate DID and IV assumptions rigorously

Causal Inference and IV: DID, TWFE, Staggered Adoption, Clustering, and 2SLS Context: You are analyzing the causal effect of a reminder on an outcome ...

Statistics & Math
8
0
100 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Software Engineer

Minimize Branch Merge Conflicts

You are given several feature branches that must all be merged into the main branch. Each branch contains a sequence of commits, and each commit modif...

Coding & Algorithms
11
0
179 people solved
Jan 12, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Build a Searchable Sentence Index

This question evaluates a candidate's ability to design and implement in-memory text indexes and related data structures, covering inverted indexing, ...

Coding & Algorithms
0
0
11 people solved
May 11, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer Locked

Handle cold start, dropout, and training stability

This question evaluates a candidate's understanding of recommender-system cold-start handling, dropout training versus inference behavior, optimizatio...

Machine Learning
7
0
77 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Product Manager

Late but Critical Colleague

Behavioral Scenario: Late but Critical Colleague You run a recurring bi-weekly cross-functional planning or metrics review meeting. A teammate who own...

Behavioral & Leadership
7
1
62 people solved
Jul 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Describe Your Professional Journey and Leadership Experiences

Describe Your Professional Journey and Leadership Experiences Behavioral & Leadership Interview Prompt (Data Scientist — Technical Phone Screen) Scena...

Behavioral & Leadership
2
0
46 people solved
Aug 4, 2025
Amazon logo
Amazon
Hard
Data Scientist

Choose Between Fine-Tuning and RAG for Client Chatbot

Choose Between Fine-Tuning and RAG for Client Chatbot Scenario You are building a client-facing chatbot that must answer questions grounded in the cli...

Machine Learning
9
0
77 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Design an Automated Home-Price Valuation Model

Design an Automated Home-Price Valuation Model Scenario You are building an automated house-price valuation service for a real-estate platform. Questi...

Machine Learning
63
0
209 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Software EngineerIntern Locked

Design a basic credit card system

This question evaluates object-oriented design and domain modeling skills, including class responsibilities, relationships, state management, transact...

Software Engineering Fundamentals
2
0
47 people solved
Oct 31, 2025
Amazon logo
Amazon
Medium
Software EngineerIntern

Describe failure, conflict, metrics, and AI lessons

The interview included several behavioral prompts with deep follow-up questions. Prepare clear STAR-style stories for the following: - Tell me about a...

Behavioral & Leadership
3
0
55 people solved
Oct 31, 2025
Amazon logo
Amazon
Medium
Software Engineer

Design a reusable web dialog component

You are building a UI component library for a web application and are asked to design and implement a reusable dialog (modal) component. Requirements ...

Software Engineering Fundamentals
2
0
44 people solved
Oct 31, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer

Explain core components of reinforcement learning

In reinforcement learning, we model an agent that interacts with an environment over time. The agent observes the state of the environment, takes acti...

Machine Learning
7
0
51 people solved
Oct 26, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design locker allocation service

Design a Best-Fit Locker Assignment Component Context You are designing the locker-assignment component for a Locker OS used at physical locker banks ...

System Design
4
0
60 people solved
Sep 6, 2025

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