LinkedIn vs Twitter Interview Questions
LinkedIn lists 141 LeetCode interview questions while Twitter lists 53. They share 13 problems — 9% of LinkedIn's bank and 25% of Twitter's. Focus on the overlap first, then drill into 128 LinkedIn-only and 40 Twitter-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 13 overlapping problems first. These are the highest-yield questions for candidates interviewing at both LinkedIn and Twitter.
Step 2 — Company-specific depth: Add LinkedIn-specific problems like Max Stack, Nested List Weight Sum II, All O`one Data Structure 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
13 Shared Questions
High-priority problems to practice for both LinkedIn and Twitter.
| Problem | Difficulty |
|---|---|
| Design Authentication Manager | Medium |
| Valid Parentheses | Easy |
| Insert Delete GetRandom O(1) | Medium |
| Lowest Common Ancestor of a Binary Search Tree | Medium |
| Process Tasks Using Servers | Medium |
| Merge Intervals | Medium |
| Max Points on a Line | Hard |
| LRU Cache | Medium |
| Flatten Nested List Iterator | Medium |
| Merge k Sorted Lists | Hard |
| Number of Connected Components in an Undirected Graph | Medium |
| Integer to Roman | Medium |
| Random Pick with Weight | Medium |
Unique to LinkedIn (128)
Problems in LinkedIn's list that do not appear at Twitter.
| Problem | Difficulty |
|---|---|
| Max Stack | Hard |
| Nested List Weight Sum II | Medium |
| All O`one Data Structure | Hard |
| Word Ladder | Hard |
| Find the Celebrity | Medium |
| Nested List Weight Sum | Medium |
| Find Leaves of Binary Tree | Medium |
| Shortest Word Distance II | Medium |
| Maximum Subarray | Medium |
| Max Consecutive Ones III | Medium |
| Number of Islands | Medium |
| Maximum Product Subarray | Medium |
Unique to Twitter (40)
Problems in Twitter's list that do not appear at LinkedIn.
| Problem | Difficulty |
|---|---|
| Regular Expression Matching | Hard |
| Trapping Rain Water | Hard |
| Multiply Strings | Medium |
| Wildcard Matching | Hard |
| Permutation Sequence | Hard |
| Pascal's Triangle | Easy |
| Word Break II | Hard |
| Time Needed to Buy Tickets | Easy |
| One Edit Distance | Medium |
| Happy Number | Easy |
| Reverse Linked List | Easy |
| Implement Trie (Prefix Tree) | Medium |
Frequently Asked Questions
How many LeetCode questions do LinkedIn and Twitter share?
LinkedIn and Twitter share 13 LeetCode interview questions. 128 problems appear only in LinkedIn's list and 40 appear only in Twitter's list.
What topics overlap most between LinkedIn and Twitter?
The most common shared topics between LinkedIn and Twitter are Hash Table (5 shared questions), Array (5 shared questions), Design (4 shared questions), Math (4 shared questions), Linked List (3 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: LinkedIn or Twitter?
LinkedIn has 25 Easy, 90 Medium, and 26 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 LinkedIn and Twitter?
Start with the 13 shared problems since they cover what both companies ask most often. Then add 20 LinkedIn-specific and 20 Twitter-specific questions to round out your prep.