LinkedIn vs TCS Interview Questions

LinkedIn lists 141 LeetCode interview questions while TCS lists 228. They share 41 problems — 29% of LinkedIn's bank and 18% of TCS's. Focus on the overlap first, then drill into 100 LinkedIn-only and 187 TCS-only questions.

Read the full LinkedIn vs TCS preparation guide →

Overview

LinkedIn

141 questions

Easy 25Medium 90Hard 26
TCS

228 questions

Easy 99Medium 108Hard 21

Preparation Strategy

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

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

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

Difficulty Comparison

Easy
LinkedIn
25
TCS
99
Medium
LinkedIn
90
TCS
108
Hard
LinkedIn
26
TCS
21

Top Shared Topics

41 Shared Questions

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

ProblemDifficulty
Word LadderHard
Maximum SubarrayMedium
Valid ParenthesesEasy
Number of IslandsMedium
Maximum Product SubarrayMedium
Search in Rotated Sorted ArrayMedium
Pow(x, n)Medium
Find First and Last Position of Element in Sorted ArrayMedium
Serialize and Deserialize Binary TreeHard
Maximum Depth of Binary TreeEasy
Letter Combinations of a Phone NumberMedium
Merge IntervalsMedium
Find Pivot IndexEasy
House RobberMedium
Longest Palindromic SubsequenceMedium
LRU CacheMedium
Merge Two Sorted ListsEasy
PermutationsMedium
Two SumEasy
Merge k Sorted ListsHard
Sqrt(x)Easy
Product of Array Except SelfMedium
Find K Closest ElementsMedium
Insert IntervalMedium
Min StackMedium
Bulb SwitcherMedium
Task SchedulerMedium
Intersection of Two Linked ListsEasy
Find Smallest Letter Greater Than TargetEasy
Longest Palindromic SubstringMedium

Showing top 30 of 41 shared problems.

Unique to LinkedIn (100)

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

ProblemDifficulty
Max StackHard
Nested List Weight Sum IIMedium
All O`one Data StructureHard
Find the CelebrityMedium
Nested List Weight SumMedium
Design Authentication ManagerMedium
Find Leaves of Binary TreeMedium
Shortest Word Distance IIMedium
Max Consecutive Ones IIIMedium
Can Place FlowersEasy
Insert Delete GetRandom O(1)Medium
Binary Tree Upside DownMedium

Unique to TCS (187)

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

ProblemDifficulty
Friday Purchases IMedium
Palindrome NumberEasy
Move ZeroesEasy
Majority ElementEasy
Longest Common PrefixEasy
Sort ColorsMedium
Valid AnagramEasy
Find the Index of the First Occurrence in a StringEasy
Single NumberEasy
Second Highest SalaryMedium
Subarray Sum Equals KMedium
Rotate ArrayMedium

Frequently Asked Questions

How many LeetCode questions do LinkedIn and TCS share?

LinkedIn and TCS share 41 LeetCode interview questions. 100 problems appear only in LinkedIn's list and 187 appear only in TCS's list.

What topics overlap most between LinkedIn and TCS?

The most common shared topics between LinkedIn and TCS are Array (15 shared questions), Hash Table (6 shared questions), String (6 shared questions), Dynamic Programming (5 shared questions), Binary Search (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: LinkedIn or TCS?

LinkedIn has 25 Easy, 90 Medium, and 26 Hard questions. TCS has 99 Easy, 108 Medium, and 21 Hard questions. LinkedIn has a higher proportion of Hard problems in its interview set.

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

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

Explore More