Amazon Coding Interview Questions

1938 DSA problems tagged as asked in Amazon coding interviews and online assessments. Below are the first 100 of 1938: 100 easy, 0 medium and 0 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Amazon DSA problems, easiest first

  1. Add Binary (Easy)
  2. Add Digits (Easy)
  3. Add Strings (Easy)
  4. Arranging Coins (Easy)
  5. Assign Cookies (Easy)
  6. Balanced Binary Tree (Easy)
  7. Best Time to Buy and Sell Stock (Easy)
  8. Binary Tree Inorder Traversal (Easy)
  9. Binary Tree Paths (Easy)
  10. Binary Tree Postorder Traversal (Easy)
  11. Binary Tree Preorder Traversal (Easy)
  12. Binary Watch (Easy)
  13. Climbing Stairs (Easy)
  14. Closest Binary Search Tree Value (Easy)
  15. Combine Two Tables (Easy)
  16. Contains Duplicate (Easy)
  17. Contains Duplicate II (Easy)
  18. Convert a Number to Hexadecimal (Easy)
  19. Convert Sorted Array to Binary Search Tree (Easy)
  20. Count Complete Tree Nodes (Easy)
  21. Counting Bits (Easy)
  22. Customers Who Never Order (Easy)
  23. Delete Duplicate Emails (Easy)
  24. Duplicate Emails (Easy)
  25. Employees Earning More Than Their Managers (Easy)
  26. Excel Sheet Column Number (Easy)
  27. Excel Sheet Column Title (Easy)
  28. Find All Numbers Disappeared in an Array (Easy)
  29. Find the Difference (Easy)
  30. Find the Index of the First Occurrence in a String (Easy)
  31. First Bad Version (Easy)
  32. First Unique Character in a String (Easy)
  33. Fizz Buzz (Easy)
  34. Guess Number Higher or Lower (Easy)
  35. Happy Number (Easy)
  36. Implement Queue using Stacks (Easy)
  37. Implement Stack using Queues (Easy)
  38. Intersection of Two Arrays (Easy)
  39. Intersection of Two Arrays II (Easy)
  40. Intersection of Two Linked Lists (Easy)
  41. Invert Binary Tree (Easy)
  42. Is Subsequence (Easy)
  43. Isomorphic Strings (Easy)
  44. Length of Last Word (Easy)
  45. Linked List Cycle (Easy)
  46. Logger Rate Limiter (Easy)
  47. Longest Common Prefix (Easy)
  48. Longest Palindrome (Easy)
  49. Majority Element (Easy)
  50. Maximum Depth of Binary Tree (Easy)
  51. Meeting Rooms (Easy)
  52. Merge Sorted Array (Easy)
  53. Merge Two Sorted Lists (Easy)
  54. Minimum Depth of Binary Tree (Easy)
  55. Missing Number (Easy)
  56. Move Zeroes (Easy)
  57. Moving Average from Data Stream (Easy)
  58. Nim Game (Easy)
  59. Number of 1 Bits (Easy)
  60. Number of Segments in a String (Easy)
  61. Palindrome Linked List (Easy)
  62. Palindrome Number (Easy)
  63. Pascal's Triangle (Easy)
  64. Pascal's Triangle II (Easy)
  65. Path Sum (Easy)
  66. Plus One (Easy)
  67. Power of Four (Easy)
  68. Power of Three (Easy)
  69. Power of Two (Easy)
  70. Range Sum Query - Immutable (Easy)
  71. Ransom Note (Easy)
  72. Remove Duplicates from Sorted Array (Easy)
  73. Remove Duplicates from Sorted List (Easy)
  74. Remove Element (Easy)
  75. Remove Linked List Elements (Easy)
  76. Reverse Bits (Easy)
  77. Reverse Linked List (Easy)
  78. Reverse String (Easy)
  79. Reverse Vowels of a String (Easy)
  80. Rising Temperature (Easy)
  81. Roman to Integer (Easy)
  82. Same Tree (Easy)
  83. Search Insert Position (Easy)
  84. Shortest Word Distance (Easy)
  85. Single Number (Easy)
  86. Sqrt(x) (Easy)
  87. Sum of Left Leaves (Easy)
  88. Summary Ranges (Easy)
  89. Symmetric Tree (Easy)
  90. Third Maximum Number (Easy)
  91. Two Sum (Easy)
  92. Two Sum III - Data structure design (Easy)
  93. Ugly Number (Easy)
  94. Valid Anagram (Easy)
  95. Valid Palindrome (Easy)
  96. Valid Parentheses (Easy)
  97. Valid Perfect Square (Easy)
  98. Valid Phone Numbers (Easy)
  99. Valid Word Abbreviation (Easy)
  100. Word Pattern (Easy)

Prepare for the rest of the Amazon process

Other companies