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
Easy
Data Scientist

Explain core ML concepts and metrics

You are interviewing for a Data Scientist role. Answer the following ML fundamentals questions clearly and concisely. Concepts 1. Explain the bias–var...

Machine Learning
9
0
89 people solved
Oct 11, 2025
Amazon logo
Amazon
Hard
Software EngineerIntern Locked

Merge two sorted arrays in-place

This question evaluates array-manipulation and in-place algorithm skills, including understanding of sorted-data merging, index/pointer management, an...

Coding & Algorithms
8
0
107 people solved
Feb 8, 2026
Amazon logo
Amazon
Medium
Software Engineer

Reflect on self, goals, learning, competitions

Prepare structured behavioral answers for these interview questions: 1. Give three words that accurately describe you as a professional, and illustrat...

Behavioral & Leadership
4
0
30 people solved
May 28, 2025
Amazon logo
Amazon
Medium
Software Engineer

Design pickup point planning for ride-hailing

Design an algorithm and high-level system for recommending a pickup point in a ride-hailing app. A passenger requests a ride from an approximate city ...

System Design
8
0
68 people solved
May 28, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design a risk management ticketing system

Design a Risk Management Ticketing System Context You are designing a ticketing platform used by human users (analysts, managers, admins) and an autom...

System Design
4
0
48 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design ride-hailing pricing with fairness and pooling

System Design: Ride-Hailing Pricing Engine Context Design a pricing engine for a ride-hailing platform that maximizes revenue while ensuring fairness ...

System Design
6
0
62 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Design a basic task management system

Design a Simple Task Management Service Requirements Design a simple task management system that supports: 1. Add a new task with a unique ID and desc...

System Design
8
0
58 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Justify choosing JavaScript for interviews

If given a choice of language, why would you choose JavaScript for front-end interview coding? Compare trade-offs versus TypeScript or Python regardin...

Coding & Algorithms
6
0
48 people solved
Sep 6, 2025
Amazon logo
Amazon
Easy
Software EngineerIntern

Clarify internship availability and conversion

Software Engineering Internship Availability and Conversion Context: During a technical screen for a Software Engineer internship, the interviewer nee...

Behavioral & Leadership
10
0
74 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Demonstrate ownership and deliver results

Behavioral Question: Ownership and Delivering Results Under Constraints Context: You are interviewing for a software engineering role. Use concise, sp...

Behavioral & Leadership
5
0
37 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute unique visitors per department from clicks

Given tables Products(product_id, department, category, subcategory) where department > category > subcategory form a hierarchy, and ClickLog(user_id,...

Data Manipulation (SQL/Python)
6
0
60 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Machine Learning EngineerSenior+

Explain Collaborative Filtering Approaches

Collaborative Filtering for Recommendations: Approaches, Losses, Regularization, Cold Start, Bias, Evaluation, and Scale Context You are designing a r...

Machine Learning
10
0
73 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design in-memory threshold switcher

Design an In-Memory Memory-Pressure Switcher Context You are designing an in-memory component ("Switcher") that gates expensive work (e.g., request ad...

System Design
4
0
59 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute reachability and minimal-time same-type scheduling

1) Given four integers a, b, c, d (1 <= a, b, c, d <= 1000), you may perform the following operations any number of times and in any order: (a, b) -> ...

Coding & Algorithms
4
0
29 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Describe a tough trade-off decision

Behavioral: Tough Trade-off Under Time Pressure (Software Engineer, Technical Screen) You will be asked to describe a specific instance where you made...

Behavioral & Leadership
12
0
87 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Solve Two OA Algorithm Problems

The post describes two separate coding questions from an online assessment: 1. Greedy deletion by minimum value Given an integer array nums, repeate...

Coding & Algorithms
14
0
172 people solved
Jan 8, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Measure platform success and drive adoption

This question evaluates a candidate's competency in platform leadership, operational metrics, organizational scaling, and driving cross-team adoption ...

System Design
10
0
84 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Review an existing architecture for risks

This question evaluates an engineer's ability to perform an architecture review, identifying imminent scalability, reliability, operability, and secur...

System Design
8
0
71 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer Locked

Design a search relevance prediction approach

This question evaluates competency in machine learning for search relevance, including relevance modeling, feature engineering across lexical, semanti...

Machine Learning
4
0
42 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Machine Learning Engineer Locked

Compute array products excluding self and top-k

This question evaluates skills in array manipulation, in-place algorithm design, numerical stability and edge-case reasoning (such as handling multipl...

Coding & Algorithms
10
0
77 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