Top Questions from Amazon

Total 68 questions.

Introduction

Top interview questions asked by Amazon as voted by the community.

LeetCode compiled this list thoroughly so you can save time and get well-prepared for an Amazon interview.

Completing this card should give you a good idea of the type of questions you would encounter in your Amazon interview.

Arrays and Strings

Amazon likes to ask simple, basic array questions. We highly recommend you to practice First Unique Character in a String, which is a popular question being asked. We also recommend Integer to English Words.

  1. Two Sum (Editor’s choice: Frequently asked in an Amazon online assessment)  
  2. Longest Substring Without Repeating Characters
  3. String to Integer (atoi)
  4. Container With Most Water
  5. Integer to Roman
  6. Roman to Integer
  7. 3Sum
  8. 3Sum Closest
  9. Implement strStr()
  10. Rotate Image
  11. Group Anagrams
  12. Minimum Window Substring
  13. Compare Version Numbers
  14. Product of Array Except Self
  15. Missing Number
  16. Integer to English Words
  17. First Unique Character in a String
  18. Valid Parentheses
  19. Most Common Word (Editor’s choice: Frequently asked in an Amazon online assessment.)
  20. Reorder Log Files (Editor’s choice: Frequently asked in an Amazon online assessment.)  
  21. Trapping Rain Water (Editor’s choice: Frequently asked in an Amazon onsite interview.)

Linked Lists

These are some of the must-practice linked list questions asked by Amazon. We recommend you practice all of these questions.

  1. Add Two Numbers
  2. Merge Two Sorted Lists
  3. Reverse Nodes in k-Group
  4. Copy List with Random Pointer (Editor’s choice: Frequently asked in an Amazon onsite interview.)
  5. Reverse Linked List
  6. Merge k Sorted Lists

Trees and Graphs

As you can see, Amazon likes to ask questions related to the Tree data structure. LeetCode highly recommends Number of Islands which seems to be Amazon’s favorite.

  1. Validate Binary Search Tree
  2. Symmetric Tree
  3. Binary Tree Level Order Traversal
  4. Binary Tree Zigzag Level Order Traversal (Editor’s choice: Frequently asked in an Amazon phone interview.)
  5. Binary Tree Maximum Path Sum
  6. Word Ladder II
  7. Word Ladder
  8. Number of Islands (Editor’s choice: Frequently asked in an Amazon phone interview.)
  9. Course Schedule
  10. Lowest Common Ancestor of a Binary Tree
  11. Diameter of Binary Tree
  12. Cut Off Trees for Golf Event
  13. Flood Fill

Design

  1.  LRU Cache Editor’s choice: Frequently asked in an Amazon onsite interview.  
  2. Min Stack
  3. Find Median from Data Stream
  4. Serialize and Deserialize Binary Tree
  5. Design Tic-Tac-Toe
  6. Design Search Autocomplete System
  7. Maximum Frequency Stack

Others

Here are some other questions for you to practice to prepare for your Amazon interview. We recommend Prison Cells After N Days.

  1. Reverse Integer
  2. Second Highest Salary
  3. Partition Labels
  4. Prison Cells After N Days

Leave a Reply

Your email address will not be published. Required fields are marked *