•CODING INTERVIEW QUESTIONS
Amazon Coding Interview Questions (DSA)
50 DSA problems sourced from real Amazon interviews
Amazon Coding Interview Questions
| Problem | Difficulty | Tags |
|---|---|---|
| Easy | ArrayHash Table | |
| Medium | Hash TableStringSliding Window | |
| Easy | ArrayDynamic Programming | |
| Medium | Hash TableLinked ListDesign | |
| Medium | ArrayDepth-First SearchBreadth-First Search | |
| Koko Eating Bananas | Medium | ArrayBinary Search |
| Medium | ArrayTwo PointersGreedy | |
| Hard | ArrayTwo PointersDynamic Programming | |
| Medium | ArraySortingQuicksort | |
| Medium | Linked ListMathRecursion | |
| Medium | Depth-First SearchBreadth-First SearchGraph Theory | |
| Copy List with Random Pointer | Medium | Hash TableLinked List |
| Majority Element | Easy | ArrayHash TableDivide and Conquer |
| Medium | ArrayTwo PointersSorting | |
| Hard | ArrayBinary SearchDivide and Conquer | |
| Palindrome Number | Easy | Math |
| Sort Colors | Medium | ArrayTwo PointersSorting |
| Minimum Window Substring | Hard | Hash TableStringSliding Window |
| Medium | Two PointersStringDynamic Programming | |
| Maximum Coins From K Consecutive Bags | Medium | ArrayBinary SearchGreedy |
| Fruit Into Baskets | Medium | ArrayHash TableSliding Window |
| Remove Duplicates from Sorted Array | Easy | ArrayTwo Pointers |
| Medium | ArrayHash TableString | |
| Easy | Linked ListRecursion | |
| Word Ladder | Hard | Hash TableStringBreadth-First Search |
| Medium | ArrayDivide and ConquerDynamic Programming | |
| Subsets | Medium | ArrayBacktrackingBit Manipulation |
| Medium | ArrayHash TableDivide and Conquer | |
| Split Array Largest Sum | Hard | ArrayBinary SearchDynamic Programming |
| Reverse Integer | Medium | Math |
| Sliding Window Maximum | Hard | ArrayQueueSliding Window |
| Capacity To Ship Packages Within D Days | Medium | ArrayBinary Search |
| Easy | MathDynamic ProgrammingMemoization | |
| Medium | ArrayBreadth-First SearchMatrix | |
| Merge Sorted Array | Easy | ArrayTwo PointersSorting |
| Medium | ArrayTwo PointersGreedy | |
| Minimum Operations to Make Array Non Decreasing | Medium | ArrayGreedy |
| House Robber III | Medium | Dynamic ProgrammingTreeDepth-First Search |
| Two Sum II - Input Array Is Sorted | Medium | ArrayTwo PointersBinary Search |
| Reorganize String | Medium | Hash TableStringGreedy |
| Find the Index of the First Occurrence in a String | Easy | Two PointersStringString Matching |
| Easy | StringStackBracket Sequences | |
| Maximum Average Subarray I | Easy | ArraySliding Window |
| Concatenation of Array | Easy | ArraySimulation |
| Find Minimum in Rotated Sorted Array | Medium | ArrayBinary Search |
| Binary Tree Maximum Path Sum | Hard | Dynamic ProgrammingTreeDepth-First Search |
| Asteroid Collision | Medium | ArrayStackSimulation |
| Medium | ArrayHash TableUnion-Find | |
| Remove Element | Easy | ArrayTwo Pointers |
| Medium | ArrayHash TableGreedy |
Difficulty Breakdown
Top Data Structures & Patterns
Frequently Asked Questions
What questions does Amazon ask in coding interviews?
Amazon coding interviews focus on Array, Backtracking, Bidirectional Search, Binary Search, and other data structure problems. We compiled 50 questions from real Amazon interviews. The most common topics are Array, Backtracking, Bidirectional Search, Binary Search, Binary Tree. Filter by topic to see what comes up most often.
How many Amazon coding interview questions are there?
InterviewSkool has 50 Amazon coding interview questions: 13 Easy, 30 Medium, and 7 Hard. Most Amazon interviews focus on Medium-difficulty problems, so prioritize those in your prep.
How should I prepare for Amazon coding interviews?
Start with Medium difficulty problems. Group by topic (Array, Tree, DP) to build pattern recognition. Aim to solve 30 to 40 problems before your interview. Then practice under pressure with a mock interview.
Are Amazon coding interview questions free?
Yes. All 50 Amazon coding interview questions are free to browse with no sign-up required. You can filter by difficulty and topic tags. Start a mock interview with a free credit to practice under real pressure.
Practice with a Mock Interview
Simulate real Amazon interview pressure with our AI interviewer.
Start Mock Interview →