Curated Question Bank

Amazon SDE Interview Questions (2026)

Amazon's SDE loop is distinctive because the behavioral component is woven through almost every round, anchored to the 16 Leadership Principles (LPs). Expect coding rounds (data structures, algorithms), one or two system design discussions, and LP-based behavioral questions in nearly every interview — each interviewer is typically assigned specific principles to assess.

The coding bar is solid but rarely the hardest part for prepared candidates; the LP behavioral questions are where many loops are won or lost. Amazon uses the STAR method explicitly and looks for data-backed, first-person stories ("I," not "we") with measurable results. Vague or team-credit answers score poorly.

The questions below mix Amazon's common coding patterns with the LP prompts you should have rehearsed stories for. Prepare two distinct stories per major principle, because interviewers will ask follow-ups that drill into your specific actions and the outcome.

The Haggle Real-Time Advantage

Amazon weaves Leadership Principles through every round. Haggle's behavioral mode helps you structure STAR answers grounded in your real experience in real time, and its coding support reads on-screen problems and suggests an approach — all on-device, under 500 ms.

Core Technical & Behavioral Questions

1

Two sum / find pairs summing to a target.

Recommended Answer Framework

Hash map in one pass, O(n). State the space-for-time trade-off vs sorting + two pointers. A standard Amazon warm-up; get to optimal cleanly and discuss duplicates.

2

Find the most common word / top-k frequent elements.

Recommended Answer Framework

Hash map counts + heap (O(n log k)) or bucket sort (O(n)). Amazon likes this because it scales into a discussion of doing it over a massive log stream.

3

Copy a linked list with random pointers.

Recommended Answer Framework

Interleave copied nodes, then split — O(1) extra space — or a hash map from original to copy. Walk the pointer bookkeeping carefully; it's an Amazon favorite for testing precision.

4

Course schedule (detect a cycle / topological sort).

Recommended Answer Framework

Model prerequisites as a directed graph; use Kahn's algorithm or DFS with a recursion stack to detect cycles. Explain why a cycle means the schedule is impossible.

5

Design a system like Amazon's order-fulfillment / a URL shortener.

Recommended Answer Framework

Clarify requirements and scale, define the API, choose storage and an ID scheme, then discuss caching and consistency. Tie choices back to availability — an Amazon design value.

6

Tell me about a time you took ownership of a problem outside your scope. (Ownership)

Recommended Answer Framework

STAR, first person, with data. Ownership is one of the most-tested LPs: show you saw a gap, acted beyond your role, and drove a measurable result you can quantify.

7

Describe a time you disagreed and committed. (Have Backbone; Disagree and Commit)

Recommended Answer Framework

Pick a real disagreement where you voiced your view with data, then fully committed once a decision was made. Amazon wants both the backbone and the follow-through, with the outcome.

8

Tell me about a time you delivered results under a tight deadline. (Deliver Results)

Recommended Answer Framework

STAR with metrics. Emphasize prioritization, what you cut, and the quantified outcome. Amazon screens hard for candidates who ship under constraint, not just plan.

Ready to Take Control of Every High-Stakes Conversation?

Download Haggle for your desktop today. Run 100% offline via local Ollama models or connect your private BYOK API keys with zero latency.