LinkedIn vs X Interview Questions

LinkedIn lists 141 LeetCode interview questions while X lists 51. They share 12 problems — 9% of LinkedIn's bank and 24% of X's. Focus on the overlap first, then drill into 129 LinkedIn-only and 39 X-only questions.

Overview

LinkedIn

141 questions

Easy 25Medium 90Hard 26
X

51 questions

Easy 8Medium 31Hard 12

Preparation Strategy

Step 1 — Shared core: Solve the 12 overlapping problems first. These are the highest-yield questions for candidates interviewing at both LinkedIn and X.

Step 2 — Company-specific depth: Add LinkedIn-specific problems like Max Stack, Nested List Weight Sum II, All O`one Data Structure and X-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: X skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
LinkedIn
25
X
8
Medium
LinkedIn
90
X
31
Hard
LinkedIn
26
X
12

Top Shared Topics

12 Shared Questions

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

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

Unique to LinkedIn (129)

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

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 X (39)

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

ProblemDifficulty
Trapping Rain WaterHard
Tweet Counts Per FrequencyMedium
Implement Trie (Prefix Tree)Medium
Design TwitterMedium
Binary GapEasy
Regular Expression MatchingHard
Word Break IIHard
Alien DictionaryHard
Time Needed to Buy TicketsEasy
Trapping Rain Water IIHard
Finding the Users Active MinutesMedium
One Edit DistanceMedium

Frequently Asked Questions

How many LeetCode questions do LinkedIn and X share?

LinkedIn and X share 12 LeetCode interview questions. 129 problems appear only in LinkedIn's list and 39 appear only in X's list.

What topics overlap most between LinkedIn and X?

The most common shared topics between LinkedIn and X are Hash Table (5 shared questions), Design (4 shared questions), Array (4 shared questions), Linked List (3 shared questions), Math (3 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: LinkedIn or X?

LinkedIn has 25 Easy, 90 Medium, and 26 Hard questions. X has 8 Easy, 31 Medium, and 12 Hard questions. X has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both LinkedIn and X?

Start with the 12 shared problems since they cover what both companies ask most often. Then add 20 LinkedIn-specific and 20 X-specific questions to round out your prep.

Explore More