knaxuslearn · build · ship

Amazon · DSA

Every coding problem Amazon has asked, most frequent first. Tick them off as you go; your ticks stay in this browser.

mostly asked
535
hard
76
done
0

535 of 535 problems

  1. 1Two Sum (opens LeetCode in a new tab)Array, Hash Table · at 38 companiesEasyFrequency 100
  2. 2Trapping Rain Water (opens LeetCode in a new tab)Array, Two Pointers, Dynamic Programming · at 26 companiesHardFrequency 88
  3. 3LRU Cache (opens LeetCode in a new tab)Hash Table, Linked List, Design · at 30 companiesMediumFrequency 88
  4. 4Number of Islands (opens LeetCode in a new tab)Array, Depth-First Search, Breadth-First Search · at 27 companiesMediumFrequency 85
  5. 5Longest Substring Without Repeating Characters (opens LeetCode in a new tab)Hash Table, String, Sliding Window · at 35 companiesMediumFrequency 84
  6. 6Best Time to Buy and Sell Stock (opens LeetCode in a new tab)Array, Dynamic Programming · at 29 companiesEasyFrequency 84
  7. 7Group Anagrams (opens LeetCode in a new tab)Array, Hash Table, String · at 27 companiesMediumFrequency 80
  8. 8Add Two Numbers (opens LeetCode in a new tab)Linked List, Math, Recursion · at 19 companiesMediumFrequency 80
  9. 9Longest Palindromic Substring (opens LeetCode in a new tab)Two Pointers, String, Dynamic Programming · at 25 companiesMediumFrequency 79
  10. 103Sum (opens LeetCode in a new tab)Array, Two Pointers, Sorting · at 23 companiesMediumFrequency 79
  11. 11Reorganize String (opens LeetCode in a new tab)Hash Table, String, Greedy · at 12 companiesMediumFrequency 78
  12. 12Median of Two Sorted Arrays (opens LeetCode in a new tab)Array, Binary Search, Divide and Conquer · at 24 companiesHardFrequency 77
  13. 13Merge Intervals (opens LeetCode in a new tab)Array, Sorting, Quicksort · at 34 companiesMediumFrequency 76
  14. 14Container With Most Water (opens LeetCode in a new tab)Array, Two Pointers, Greedy · at 24 companiesMediumFrequency 76
  15. 15Koko Eating Bananas (opens LeetCode in a new tab)Array, Binary Search · at 23 companiesMediumFrequency 75
  16. 16Course Schedule (opens LeetCode in a new tab)Depth-First Search, Breadth-First Search, Graph Theory · at 21 companiesMediumFrequency 75
  17. 17Valid Parentheses (opens LeetCode in a new tab)String, Stack, Bracket Sequences · at 32 companiesEasyFrequency 74
  18. 18Subarray Sum Equals K (opens LeetCode in a new tab)Array, Hash Table, Prefix Sum · at 25 companiesMediumFrequency 74
  19. 19Longest Common Prefix (opens LeetCode in a new tab)Array, String, Trie · at 22 companiesEasyFrequency 74
  20. 20Merge k Sorted Lists (opens LeetCode in a new tab)Linked List, Divide and Conquer, Heap (Priority Queue) · at 22 companiesHardFrequency 74
  21. 21Rotting Oranges (opens LeetCode in a new tab)Array, Breadth-First Search, Matrix · at 26 companiesMediumFrequency 73
  22. 22Search in Rotated Sorted Array (opens LeetCode in a new tab)Array, Binary Search · at 22 companiesMediumFrequency 72
  23. 23Maximum Subarray (opens LeetCode in a new tab)Array, Divide and Conquer, Dynamic Programming · at 25 companiesMediumFrequency 72
  24. 24Top K Frequent Elements (opens LeetCode in a new tab)Array, Hash Table, Divide and Conquer · at 22 companiesMediumFrequency 72
  25. 25Longest Consecutive Sequence (opens LeetCode in a new tab)Array, Hash Table, Union-Find · at 26 companiesMediumFrequency 71
  26. Showing 25 of 535

Mostly asked is the top quarter of the company’s list by how often a problem is reported. We don’t refresh this data often enough to show the last 30 days or 6 months. Frequency is relative within one company: 100 is its most asked problem. At N companies counts the companies in DSA Atlas that ask the problem; use Also asked at to cut a long list down to the problems many companies share. Your ticks are saved in this browser only.

Credits

These lists are the work of two open GitHub projects. Thank you to their authors.

Problem text stays on LeetCode; we link to it. Frequencies are relative within a company.

Last synced