🏢Company Interviews13 min

Amazon Interview Questions

Amazon's SDE interview is a DSA + system design + behavioural loop, and the behavioural half is unusually decisive because it's scored against Amazon's 16 Leadership Principles by a dedicated Bar Raiser. This guide covers the coding patterns and the LP-style behavioural questions Amazon actually asks.

The Amazon Loop

Online Assessment (OA) → phone/technical rounds → onsite loop with a Bar Raiser. Every round mixes technical and Leadership Principles.

  • OA: 1–2 DSA problems plus work-style/behavioural assessment
  • Coding rounds: arrays, strings, hashmaps, trees, graphs, DP
  • System design (for experienced): scalable, available, cost-aware designs
  • Behavioural: STAR answers mapped to Leadership Principles, probed by a Bar Raiser
  • Bar Raiser: an objective interviewer outside the hiring team who can veto

Common Interview Questions & Answers

Q1. Tell me about a time you disagreed with your manager. (Have Backbone; Disagree and Commit)

Use STAR: the Situation, the disagreement and your reasoning (data-backed), how you voiced it respectfully, then committed once a decision was made, and the outcome. End with what you learned.

Amazon wants principled dissent AND commitment — show both halves.

Q2. Two Sum / find a pair summing to a target.

Use a hash map storing value→index; for each element check if target−element exists. O(n) time, O(n) space, beating the O(n²) brute force.

State brute force first, then optimise — Amazon likes the progression.

Q3. Tell me about a time you took ownership beyond your role. (Ownership)

STAR: a problem outside your remit you chose to fix, the action you took, the measurable result, and why you owned it. Emphasise long-term thinking.

Ownership is the most-tested LP — have two stories ready.

Q4. Invert a binary tree / level-order traversal.

For inversion, recursively swap left and right subtrees. For level-order, use a queue (BFS), processing nodes level by level.

Trees and BFS/DFS are core Amazon patterns.

Q5. Describe a time you had to deliver with a tight deadline. (Bias for Action / Deliver Results)

STAR: the deadline pressure, how you prioritised and made a fast, reversible decision with incomplete data, and the delivered result.

'Bias for Action' means smart speed, not recklessness — show judgement.

Q6. Find the longest substring without repeating characters.

Sliding window with a set/last-seen map; expand the right pointer, and when a duplicate appears, move the left pointer past its last occurrence. O(n).

Sliding window is a must-know Amazon pattern.

Q7. Tell me about a time you failed. (Earn Trust / Learn and Be Curious)

STAR with a genuine failure: what happened, your role in it, what you changed afterwards, and evidence you improved. Own it without blaming others.

Authentic ownership of failure earns trust; deflection kills it.

Q8. Detect a cycle in a linked list.

Floyd's tortoise-and-hare: advance one pointer by 1 and another by 2; if they meet there's a cycle. O(n) time, O(1) space.

Naming Floyd's algorithm signals depth.

Q9. How would you design a URL shortener? (system design)

Discuss requirements (read-heavy, unique short keys), a hashing/base62 key strategy, a key-value store, cache for hot links, and scale/availability trade-offs.

Clarify requirements before designing — interviewers reward it.

Q10. Tell me about a time you had to make a decision with incomplete data. (Are Right, A Lot)

STAR: the ambiguity, how you sought data and used judgement, the decision, and the outcome plus what you'd refine.

Show sound judgement under uncertainty, not luck.

Common Mistakes to Avoid

Preparing only coding and neglecting the Leadership Principles

Vague behavioural answers with no metrics or 'I' ownership

Jumping into code before clarifying constraints

Not knowing the 16 Leadership Principles by name and theme

Expert Tips

Prepare 8–10 STAR stories mapped to multiple Leadership Principles

Use 'I' not 'we' — the Bar Raiser evaluates your individual actions

Quantify results in every behavioural answer

Drill the core DSA patterns: two pointers, sliding window, BFS/DFS, DP

Always clarify inputs, scale and edge cases before coding

Pre-Interview Checklist

5 items

Frequently Asked Questions

How important are Amazon's Leadership Principles?

Critical — they're scored in every round and the Bar Raiser can veto a technically strong candidate for weak LP answers. Prepare them as seriously as coding.

What is a Bar Raiser at Amazon?

An experienced interviewer from outside the hiring team who ensures the hiring bar stays high and has veto power over the decision.

🎯

Ready to ace your next interview?

Practice with SpeakWell AI. Upload your resume → get resume-based questions → practice with AI interviewers → improve communication → track progress → get instant AI feedback.

Back to all guides