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.

Read the full Apple vs Twitter preparation guide →

Overview

Apple

300 questions

Easy 76Medium 178Hard 46
Twitter

53 questions

Easy 8Medium 33Hard 12

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

Easy
Apple
76
Twitter
8
Medium
Apple
178
Twitter
33
Hard
Apple
46
Twitter
12

Top Shared Topics

22 Shared Questions

High-priority problems to practice for both Apple and Twitter.

ProblemDifficulty
LRU CacheMedium
Merge IntervalsMedium
Reverse Linked ListEasy
Valid ParenthesesEasy
Merge k Sorted ListsHard
Trapping Rain WaterHard
Insert Delete GetRandom O(1)Medium
Implement Trie (Prefix Tree)Medium
Pascal's TriangleEasy
Max Points on a LineHard
Regular Expression MatchingHard
Flatten Nested List IteratorMedium
Rotting OrangesMedium
Kth Smallest Element in a Sorted MatrixMedium
Alien DictionaryHard
Happy NumberEasy
Validate IP AddressMedium
The Skyline ProblemHard
Random Pick with WeightMedium
Lowest Common Ancestor of a Binary Search TreeMedium
Design TwitterMedium
One Edit DistanceMedium

Unique to Apple (278)

Problems in Apple's list that do not appear at Twitter.

ProblemDifficulty
Two SumEasy
Number of IslandsMedium
Best Time to Buy and Sell StockEasy
Design Hit CounterMedium
Longest Common PrefixEasy
Rotate ArrayMedium
Valid SudokuMedium
Group AnagramsMedium
Top K Frequent ElementsMedium
Course Schedule IIMedium
Course ScheduleMedium
Longest Substring Without Repeating CharactersMedium

Unique to Twitter (31)

Problems in Twitter's list that do not appear at Apple.

ProblemDifficulty
Integer to RomanMedium
Multiply StringsMedium
Wildcard MatchingHard
Permutation SequenceHard
Word Break IIHard
Time Needed to Buy TicketsEasy
Flatten 2D VectorMedium
Best Meeting PointHard
Design SkiplistHard
Number of Connected Components in an Undirected GraphMedium
Trapping Rain Water IIHard
Minimum Genetic MutationMedium

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.

Explore More