Microsoft vs TCS Interview Questions

Microsoft lists 192 LeetCode interview questions while TCS lists 228. They share 110 problems — 57% of Microsoft's bank and 48% of TCS's. Focus on the overlap first, then drill into 82 Microsoft-only and 118 TCS-only questions.

Read the full Microsoft vs TCS preparation guide →

Overview

Microsoft

192 questions

Easy 55Medium 109Hard 28
TCS

228 questions

Easy 99Medium 108Hard 21

Preparation Strategy

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

Step 2 — Company-specific depth: Add Microsoft-specific problems like Reverse Nodes in k-Group, Word Search, Minimum Edge Reversals So Every Node Is Reachable and TCS-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Microsoft
55
TCS
99
Medium
Microsoft
109
TCS
108
Hard
Microsoft
28
TCS
21

Top Shared Topics

110 Shared Questions

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

ProblemDifficulty
Two SumEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Add Two NumbersMedium
Longest Palindromic SubstringMedium
Trapping Rain WaterHard
Single Element in a Sorted ArrayMedium
Merge IntervalsMedium
Median of Two Sorted ArraysHard
Valid ParenthesesEasy
3SumMedium
Maximum SubarrayMedium
Group AnagramsMedium
Search in Rotated Sorted ArrayMedium
Merge Two Sorted ListsEasy
Roman to IntegerEasy
Spiral MatrixMedium
Climbing StairsEasy
Container With Most WaterMedium
Rotate ImageMedium
Palindrome NumberEasy
Merge k Sorted ListsHard
Sort ColorsMedium
Longest Common PrefixEasy
Remove Duplicates from Sorted ArrayEasy
Create Hello World FunctionEasy
Set Matrix ZeroesMedium
Reverse IntegerMedium
Letter Combinations of a Phone NumberMedium
Number of IslandsMedium

Showing top 30 of 110 shared problems.

Unique to Microsoft (82)

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

ProblemDifficulty
Reverse Nodes in k-GroupHard
Word SearchMedium
Minimum Edge Reversals So Every Node Is ReachableHard
Find Peak ElementMedium
K-th Smallest in Lexicographical OrderHard
Minimum Path SumMedium
Binary Tree Zigzag Level Order TraversalMedium
Validate Binary Search TreeMedium
Combination SumMedium
Merge Strings AlternatelyEasy
Binary Tree Level Order TraversalMedium
Gas StationMedium

Unique to TCS (118)

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

ProblemDifficulty
Friday Purchases IMedium
Second Highest SalaryMedium
Remove Letter To Equalize FrequencyEasy
Maximum Ascending Subarray SumEasy
Count the Digits That Divide a NumberEasy
Maximum Product SubarrayMedium
Reverse StringEasy
Task SchedulerMedium
Check if Array Is Sorted and RotatedEasy
Zigzag Grid Traversal With SkipEasy
Valid PalindromeEasy
Minimum Operations to Exceed Threshold Value IEasy

Frequently Asked Questions

How many LeetCode questions do Microsoft and TCS share?

Microsoft and TCS share 110 LeetCode interview questions. 82 problems appear only in Microsoft's list and 118 appear only in TCS's list.

What topics overlap most between Microsoft and TCS?

The most common shared topics between Microsoft and TCS are Array (17 shared questions), Two Pointers (7 shared questions), String (7 shared questions), Hash Table (6 shared questions), Math (6 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Microsoft or TCS?

Microsoft has 55 Easy, 109 Medium, and 28 Hard questions. TCS has 99 Easy, 108 Medium, and 21 Hard questions. Microsoft has a higher proportion of Hard problems in its interview set.

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

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

Explore More