Apple vs Twitter Interview Questions
Apple lists 300 LeetCode interview questions while Twitter lists 53. They share 22 problems — 7% of Apple's bank and 42% of Twitter's. Focus on the overlap first, then drill into 278 Apple-only and 31 Twitter-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 22 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Apple and Twitter.
Step 2 — Company-specific depth: Add Apple-specific problems like Two Sum, Number of Islands, Best Time to Buy and Sell Stock and Twitter-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Twitter skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
22 Shared Questions
High-priority problems to practice for both Apple and Twitter.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Merge Intervals | Medium |
| Reverse Linked List | Easy |
| Valid Parentheses | Easy |
| Merge k Sorted Lists | Hard |
| Trapping Rain Water | Hard |
| Insert Delete GetRandom O(1) | Medium |
| Implement Trie (Prefix Tree) | Medium |
| Pascal's Triangle | Easy |
| Max Points on a Line | Hard |
| Regular Expression Matching | Hard |
| Flatten Nested List Iterator | Medium |
| Rotting Oranges | Medium |
| Kth Smallest Element in a Sorted Matrix | Medium |
| Alien Dictionary | Hard |
| Happy Number | Easy |
| Validate IP Address | Medium |
| The Skyline Problem | Hard |
| Random Pick with Weight | Medium |
| Lowest Common Ancestor of a Binary Search Tree | Medium |
| Design Twitter | Medium |
| One Edit Distance | Medium |
Unique to Apple (278)
Problems in Apple's list that do not appear at Twitter.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Number of Islands | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Design Hit Counter | Medium |
| Longest Common Prefix | Easy |
| Rotate Array | Medium |
| Valid Sudoku | Medium |
| Group Anagrams | Medium |
| Top K Frequent Elements | Medium |
| Course Schedule II | Medium |
| Course Schedule | Medium |
| Longest Substring Without Repeating Characters | Medium |
Unique to Twitter (31)
Problems in Twitter's list that do not appear at Apple.
| Problem | Difficulty |
|---|---|
| Integer to Roman | Medium |
| Multiply Strings | Medium |
| Wildcard Matching | Hard |
| Permutation Sequence | Hard |
| Word Break II | Hard |
| Time Needed to Buy Tickets | Easy |
| Flatten 2D Vector | Medium |
| Best Meeting Point | Hard |
| Design Skiplist | Hard |
| Number of Connected Components in an Undirected Graph | Medium |
| Trapping Rain Water II | Hard |
| Minimum Genetic Mutation | Medium |
Frequently Asked Questions
How many LeetCode questions do Apple and Twitter share?
Apple and Twitter share 22 LeetCode interview questions. 278 problems appear only in Apple's list and 31 appear only in Twitter's list.
What topics overlap most between Apple and Twitter?
The most common shared topics between Apple and Twitter are Array (10 shared questions), Hash Table (6 shared questions), String (6 shared questions), Design (5 shared questions), Linked List (4 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Apple or Twitter?
Apple has 76 Easy, 178 Medium, and 46 Hard questions. Twitter has 8 Easy, 33 Medium, and 12 Hard questions. Twitter has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Apple and Twitter?
Start with the 22 shared problems since they cover what both companies ask most often. Then add 20 Apple-specific and 20 Twitter-specific questions to round out your prep.