Skip to main content
Back to Companies
Amazon logo

Amazon Interview Questions (1986)

Practice real interview problems from Amazon

#1512

Number of Good Pairs

Easy✓ Solution📹 Video
Accenture+9
#1517

Find Users With Valid E-Mails

Easy✓ Solution📹 Video
Amazon+3
#1518

Water Bottles

Easy✓ Solution📹 Video
Accenture+8
#1523

Count Odd Numbers in an Interval Range

Easy✓ Solution📹 Video
Amazon+4
#1527

Patients With a Condition

Easy✓ Solution📹 Video
Amazon+2
#1534

Count Good Triplets

Easy✓ Solution📹 Video
Amazon+4
#1544

Make The String Great

Easy✓ Solution📹 Video
Amazon+3
#1550

Three Consecutive Odds

Easy✓ Solution📹 Video
Amazon+4
#1571Premium

Warehouse Manager

Easy✓ Solution📹 Video
Amazon
#1572

Matrix Diagonal Sum

Easy✓ Solution📹 Video
Amazon+5
#1603

Design Parking System

Easy✓ Solution📹 Video
Amazon+5
#1633

Percentage of Users Attended a Contest

Easy✓ Solution📹 Video
Amazon+6
#1646

Get Maximum in Generated Array

Easy✓ Solution📹 Video
Amazon+2
#1652

Defuse the Bomb

Easy✓ Solution📹 Video
Amazon+4
#1661

Average Time of Process per Machine

Easy✓ Solution📹 Video
Accenture+6
#1667

Fix Names in a Table

Easy✓ Solution📹 Video
Amazon+4
#1672

Richest Customer Wealth

Easy✓ Solution📹 Video
Amazon+4
#1683

Invalid Tweets

Easy✓ Solution📹 Video
Acko+6
#1688

Count of Matches in Tournament

Easy✓ Solution📹 Video
Amazon+3
#1693

Daily Leads and Partners

Easy✓ Solution📹 Video
Amazon+2
#1716

Calculate Money in Leetcode Bank

Easy✓ Solution📹 Video
Amazon+3
#1729

Find Followers Count

Easy✓ Solution📹 Video
Amazon+4
#1732

Find the Highest Altitude

Easy✓ Solution📹 Video
Amazon+6
#1741

Find Total Time Spent by Each Employee

Easy✓ Solution📹 Video
Amazon+2
#1748

Sum of Unique Elements

Easy✓ Solution📹 Video
Amazon+3
#1752

Check if Array Is Sorted and Rotated

Easy✓ Solution📹 Video
Amazon+9
#1757

Recyclable and Low Fat Products

Easy✓ Solution📹 Video
Amazon+5
#1768

Merge Strings Alternately

Easy✓ Solution📹 Video
Amazon+10
#1777Premium

Product's Price for Each Store

Easy✓ Solution📹 Video
Amazon+1
#1789

Primary Department for Each Employee

Easy✓ Solution📹 Video
Amazon+4
#1791

Find Center of Star Graph

Easy✓ Solution📹 Video
Amazon+3
Page 7 of 11

About Amazon Coding 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 1937 Amazon interview questions, 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 for Amazon

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): Usually 1–2 coding problems plus debugging or work-style questions. 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. Aim to solve 150–300 targeted problems, focusing on patterns rather than sheer quantity. Practicing real Amazon interview questions—like the 1937 problems on FleetCode—helps you recognize recurring patterns and build confidence before the interview loop.