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
- 1LRU Cache (opens LeetCode in a new tab)Hash Table, Linked List, Design · at 30 companiesMediumFrequency 100
- 2Two Sum (opens LeetCode in a new tab)Array, Hash Table · at 38 companiesEasyFrequency 86
- 3Merge Intervals (opens LeetCode in a new tab)Array, Sorting, Quicksort · at 34 companiesMediumFrequency 84
- 4Design Hit Counter (opens LeetCode in a new tab)Array, Binary Search, Design · at 10 companiesMediumFrequency 80
- 5Best Time to Buy and Sell Stock (opens LeetCode in a new tab)Array, Dynamic Programming · at 29 companiesEasyFrequency 80
- 6Number of Islands (opens LeetCode in a new tab)Array, Depth-First Search, Breadth-First Search · at 27 companiesMediumFrequency 80
- 7Rotate Array (opens LeetCode in a new tab)Array, Math, Two Pointers · at 16 companiesMediumFrequency 78
- 8Reverse Linked List (opens LeetCode in a new tab)Linked List, Recursion · at 19 companiesEasyFrequency 77
- 9Top K Frequent Elements (opens LeetCode in a new tab)Array, Hash Table, Divide and Conquer · at 22 companiesMediumFrequency 77
- 10Longest Common Prefix (opens LeetCode in a new tab)Array, String, Trie · at 22 companiesEasyFrequency 76
- 11Valid Sudoku (opens LeetCode in a new tab)Array, Hash Table, Matrix · at 12 companiesMediumFrequency 75
- 12Group Anagrams (opens LeetCode in a new tab)Array, Hash Table, String · at 27 companiesMediumFrequency 74
- 13Course Schedule II (opens LeetCode in a new tab)Depth-First Search, Breadth-First Search, Graph Theory · at 18 companiesMediumFrequency 74
- 14Course Schedule (opens LeetCode in a new tab)Depth-First Search, Breadth-First Search, Graph Theory · at 21 companiesMediumFrequency 72
- 15Valid Parentheses (opens LeetCode in a new tab)String, Stack, Bracket Sequences · at 32 companiesEasyFrequency 70
- 16Valid Palindrome (opens LeetCode in a new tab)Two Pointers, String · at 22 companiesEasyFrequency 70
- 17Longest Substring Without Repeating Characters (opens LeetCode in a new tab)Hash Table, String, Sliding Window · at 35 companiesMediumFrequency 69
- 18Spiral Matrix (opens LeetCode in a new tab)Array, Matrix, Simulation · at 20 companiesMediumFrequency 68
- 19Kth Largest Element in an Array (opens LeetCode in a new tab)Array, Divide and Conquer, Sorting · at 21 companiesMediumFrequency 68
- 20Subarray Product Less Than K (opens LeetCode in a new tab)Array, Binary Search, Sliding Window · at 14 companiesMediumFrequency 68
- 21Time Based Key-Value Store (opens LeetCode in a new tab)Hash Table, String, Binary Search · at 13 companiesMediumFrequency 68
- 22Best Time to Buy and Sell Stock II (opens LeetCode in a new tab)Array, Dynamic Programming, Greedy · at 13 companiesMediumFrequency 67
- 23Product of Array Except Self (opens LeetCode in a new tab)Array, Prefix Sum · at 18 companiesMediumFrequency 67
- 24Minimum Cost to Hire K Workers (opens LeetCode in a new tab)Array, Greedy, Sorting · at 5 companiesHardFrequency 66
- 25Merge k Sorted Lists (opens LeetCode in a new tab)Linked List, Divide and Conquer, Heap (Priority Queue) · at 22 companiesHardFrequency 65
- 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.
- liquidslr/leetcode-company-wise-problems: the problem lists for each company (titles, difficulty, frequency, topics, LeetCode links).
- nishant-Tiwari24/company-wise-dsa: the focus tip and important topics shown on each company card.
Problem text stays on LeetCode; we link to it. Frequencies are relative within a company.
Last synced