knaxuslearn · build · ship

Apple · DSA

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

mostly asked
74
hard
10
done
0

74 of 74 problems

  1. 1LRU Cache (opens LeetCode in a new tab)Hash Table, Linked List, Design · at 30 companiesMediumFrequency 100
  2. 2Two Sum (opens LeetCode in a new tab)Array, Hash Table · at 38 companiesEasyFrequency 86
  3. 3Merge Intervals (opens LeetCode in a new tab)Array, Sorting, Quicksort · at 34 companiesMediumFrequency 84
  4. 4Design Hit Counter (opens LeetCode in a new tab)Array, Binary Search, Design · at 10 companiesMediumFrequency 80
  5. 5Best Time to Buy and Sell Stock (opens LeetCode in a new tab)Array, Dynamic Programming · at 29 companiesEasyFrequency 80
  6. 6Number of Islands (opens LeetCode in a new tab)Array, Depth-First Search, Breadth-First Search · at 27 companiesMediumFrequency 80
  7. 7Rotate Array (opens LeetCode in a new tab)Array, Math, Two Pointers · at 16 companiesMediumFrequency 78
  8. 8Reverse Linked List (opens LeetCode in a new tab)Linked List, Recursion · at 19 companiesEasyFrequency 77
  9. 9Top K Frequent Elements (opens LeetCode in a new tab)Array, Hash Table, Divide and Conquer · at 22 companiesMediumFrequency 77
  10. 10Longest Common Prefix (opens LeetCode in a new tab)Array, String, Trie · at 22 companiesEasyFrequency 76
  11. 11Valid Sudoku (opens LeetCode in a new tab)Array, Hash Table, Matrix · at 12 companiesMediumFrequency 75
  12. 12Group Anagrams (opens LeetCode in a new tab)Array, Hash Table, String · at 27 companiesMediumFrequency 74
  13. 13Course Schedule II (opens LeetCode in a new tab)Depth-First Search, Breadth-First Search, Graph Theory · at 18 companiesMediumFrequency 74
  14. 14Course Schedule (opens LeetCode in a new tab)Depth-First Search, Breadth-First Search, Graph Theory · at 21 companiesMediumFrequency 72
  15. 15Valid Parentheses (opens LeetCode in a new tab)String, Stack, Bracket Sequences · at 32 companiesEasyFrequency 70
  16. 16Valid Palindrome (opens LeetCode in a new tab)Two Pointers, String · at 22 companiesEasyFrequency 70
  17. 17Longest Substring Without Repeating Characters (opens LeetCode in a new tab)Hash Table, String, Sliding Window · at 35 companiesMediumFrequency 69
  18. 18Spiral Matrix (opens LeetCode in a new tab)Array, Matrix, Simulation · at 20 companiesMediumFrequency 68
  19. 19Kth Largest Element in an Array (opens LeetCode in a new tab)Array, Divide and Conquer, Sorting · at 21 companiesMediumFrequency 68
  20. 20Subarray Product Less Than K (opens LeetCode in a new tab)Array, Binary Search, Sliding Window · at 14 companiesMediumFrequency 68
  21. 21Time Based Key-Value Store (opens LeetCode in a new tab)Hash Table, String, Binary Search · at 13 companiesMediumFrequency 68
  22. 22Best Time to Buy and Sell Stock II (opens LeetCode in a new tab)Array, Dynamic Programming, Greedy · at 13 companiesMediumFrequency 67
  23. 23Product of Array Except Self (opens LeetCode in a new tab)Array, Prefix Sum · at 18 companiesMediumFrequency 67
  24. 24Minimum Cost to Hire K Workers (opens LeetCode in a new tab)Array, Greedy, Sorting · at 5 companiesHardFrequency 66
  25. 25Merge k Sorted Lists (opens LeetCode in a new tab)Linked List, Divide and Conquer, Heap (Priority Queue) · at 22 companiesHardFrequency 65
  26. Showing 25 of 74

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