Talentd
FleetCode
Make and follow sheets.Sign in

Amazon Interview Questions (1,988)

Coding problems reported from Amazon interviews and online assessments.

Start practising
A private sheet of Amazon's most asked problems with a two-week finish date.
Questions1,988
Easy531
Medium1,083
Hard374
Asked in 30 days153as of 16 Aug 2026
TitleSolutionAcceptDifficultyAsked
1. Two SumVideo
Solution57.8%Easy
Last 30 days
146. LRU CacheVideo
Solution48.2%Medium
Last 30 days
Solution73.0%Medium
Last 30 days
127. Word LadderVideo
Solution46.3%Hard
Last 30 days
Solution47.0%Medium
Last 30 days
Solution63.8%Medium
Last 30 days
Solution67.3%Medium
Last 30 days
Solution48.2%Medium
Last 30 days
Solution57.5%Medium
Last 30 days
Solution52.5%Medium
Last 30 days
Solution67.0%Easy
Last 3 months
Solution66.9%Medium
Last 30 days
36. Valid SudokuVideo
Solution64.9%Medium
Last 3 months
Solution43.8%Hard
Last 30 days
Solution48.3%Hard
Last 30 days
139. Word BreakVideo
Solution49.8%Medium
Last 3 months
Solution66.2%Easy
Last 30 days
Solution64.8%Easy
Last 30 days
242. Valid AnagramVideo
Solution68.5%Easy
Last 3 months
Solution55.3%Medium
Last 6 months
Solution60.4%Medium
Last 3 months
460. LFU CacheVideo
Solution50.6%Hard
Last 3 months
621. Task SchedulerVideo
Solution64.0%Medium
Last 30 days
Solution68.1%Medium
Last 3 months
Solution44.3%Medium
Last 3 months
Solution36.2%Medium
Last 6 months
Solution71.8%Medium
Last 3 months
37. Sudoku SolverVideo
Solution65.4%Hard
Last 30 days
Solution63.8%Medium
Last 3 months
126. Word Ladder IIVideo
Solution27.7%Hard
Last 6 months
140. Word Break IIVideo
Solution56.4%Hard
Last 6 months
Solution55.2%Easy
Last 30 days
Solution59.3%Medium
Last 3 months
Solution64.6%Easy
Last 3 months
202. Happy NumberVideo
Solution60.0%Easy
Last 3 months
Solution48.8%Easy
Last 3 months
Solution51.6%Easy
Last 30 days
268. Missing NumberVideo
Solution72.4%Easy
Last 30 days
Solution78.2%Easy
Last 3 months
Solution66.4%Easy
Last 3 months
Solution54.7%Medium
Last 3 months
Solution76.5%Easy
Last 3 months
Solution52.2%Medium
Last 6 months
Solution49.8%Medium
Last 30 days
Solution60.6%Medium
Last 3 months
Solution49.8%Medium
Last 3 months
Showing 1–50 of 415

More about Amazon interviews

Amazon’s engineering interviews are known for combining strong data structure fundamentals with real-world problem solving. Candidates are expected to write clean, efficient code while also demonstrating Amazon’s Leadership Principles such as ownership, customer obsession, and bias for action. Whether you’re applying for an SDE internship, SDE I, or experienced role, the coding bar is consistently high.

The typical Amazon coding interview process starts with an online assessment or recruiter screen, followed by a technical phone interview and then a multi-round onsite or virtual onsite loop. In these rounds, interviewers focus heavily on data structures and algorithms while evaluating how clearly you communicate your approach and reason about trade-offs.

Across real Amazon interviews, several DSA patterns appear frequently:

  • Arrays and hashing for efficient lookups and frequency tracking
  • Trees and binary search trees, especially traversal and recursion
  • Graph problems such as BFS/DFS and shortest path variations
  • Dynamic programming for optimization problems
  • Sliding window and two-pointer techniques for array and string problems

In our dataset of , most problems fall in the medium difficulty range, with a smaller but important portion of hard problems that test optimization and deeper algorithmic thinking.

FleetCode helps you prepare the way top candidates do. Instead of random practice, you can train using real Amazon interview questions categorized by topic and difficulty. Each problem includes clear explanations and solutions in Python, Java, and C++, helping you build pattern recognition and speed before the actual interview.

Interview tips

Understanding Amazon’s interview structure is key to preparing effectively. Most candidates go through 4–5 stages, though the exact format can vary by role and location.

  • Online Assessment (OA):Expect medium-level array, string, or hashing problems.
  • Technical Phone Screen: A 45–60 minute interview with one coding problem solved in a shared editor. Interviewers expect a clear explanation before coding.
  • Virtual Onsite / Loop: Typically 4–5 rounds, each about 45–60 minutes. Most rounds include a coding problem and behavioral questions tied to Amazon’s Leadership Principles.
  • System Design (for experienced roles): One round may focus on designing scalable services or APIs.

The most common problem categories in Amazon interviews include:

  • Arrays, strings, and hashing
  • Binary trees and tree traversal
  • Graphs with BFS or DFS
  • Sliding window and two pointers
  • Heap and priority queue problems
  • Dynamic programming for optimization tasks

Preparation strategy that works well for Amazon:

  • Start with array, string, and hashing patterns since they appear in many online assessments.
  • Practice tree and graph traversal problems until you can implement DFS and BFS from memory.
  • Focus on writing clean code with clear variable names and edge case handling.
  • Always explain your approach before coding and discuss time and space complexity.

Common mistakes candidates make:

  • Jumping straight into coding without clarifying the problem.
  • Ignoring edge cases like empty input or duplicates.
  • Not optimizing an initial brute-force solution.
  • Forgetting to connect behavioral answers to Amazon’s Leadership Principles.

A realistic preparation timeline is 6–10 weeks.

Frequently asked questions

What DSA topics does Amazon ask most?

Amazon frequently asks questions on arrays, strings, hashing, binary trees, and graphs. Sliding window, two pointers, BFS/DFS, heaps, and dynamic programming are also common patterns. Many problems focus on optimizing time complexity and handling edge cases effectively.

How hard are Amazon coding interviews?

Amazon coding interviews are generally considered medium to hard difficulty. Most problems require solid knowledge of data structures such as arrays, hash maps, trees, and graphs. Candidates are also evaluated on code quality, communication, and problem‑solving approach, not just arriving at the final answer.

Does Amazon ask system design questions?

Yes, system design questions are common for mid-level and senior engineering roles at Amazon. Candidates may be asked to design scalable systems such as distributed services, APIs, or data pipelines. Entry-level roles usually focus more on coding and data structures.

What is the Amazon interview process like?

The process usually starts with an online assessment followed by a technical phone screen. Successful candidates move to a virtual onsite loop with 4–5 interviews covering coding, problem solving, and behavioral questions based on Amazon’s Leadership Principles. Experienced roles may also include a system design round.

How many LeetCode problems should I solve for Amazon?

The goal is not just volume but mastering patterns like sliding window, tree traversal, and graph search. Practicing real Amazon interview questions helps build faster pattern recognition.

How long should I prepare for an Amazon coding interview?

Most candidates prepare for about 6 to 10 weeks. This typically involves practicing coding problems daily, reviewing key data structures and algorithms, and doing mock interviews. Consistent practice with company-specific questions significantly improves success rates.