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.

Read the full LinkedIn vs Twitter preparation guide →

Overview

LinkedIn

141 questions

Easy 25Medium 90Hard 26
Twitter

53 questions

Easy 8Medium 33Hard 12

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

Easy
LinkedIn
25
Twitter
8
Medium
LinkedIn
90
Twitter
33
Hard
LinkedIn
26
Twitter
12

Top Shared Topics

13 Shared Questions

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

ProblemDifficulty
Design Authentication ManagerMedium
Valid ParenthesesEasy
Insert Delete GetRandom O(1)Medium
Lowest Common Ancestor of a Binary Search TreeMedium
Process Tasks Using ServersMedium
Merge IntervalsMedium
Max Points on a LineHard
LRU CacheMedium
Flatten Nested List IteratorMedium
Merge k Sorted ListsHard
Number of Connected Components in an Undirected GraphMedium
Integer to RomanMedium
Random Pick with WeightMedium

Unique to LinkedIn (128)

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

ProblemDifficulty
Max StackHard
Nested List Weight Sum IIMedium
All O`one Data StructureHard
Word LadderHard
Find the CelebrityMedium
Nested List Weight SumMedium
Find Leaves of Binary TreeMedium
Shortest Word Distance IIMedium
Maximum SubarrayMedium
Max Consecutive Ones IIIMedium
Number of IslandsMedium
Maximum Product SubarrayMedium

Unique to Twitter (40)

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

ProblemDifficulty
Regular Expression MatchingHard
Trapping Rain WaterHard
Multiply StringsMedium
Wildcard MatchingHard
Permutation SequenceHard
Pascal's TriangleEasy
Word Break IIHard
Time Needed to Buy TicketsEasy
One Edit DistanceMedium
Happy NumberEasy
Reverse Linked ListEasy
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.

Explore More