Infosys vs TCS Interview Questions

Infosys lists 105 LeetCode interview questions while TCS lists 228. They share 62 problems — 59% of Infosys's bank and 27% of TCS's. Focus on the overlap first, then drill into 43 Infosys-only and 166 TCS-only questions.

Read the full Infosys vs TCS preparation guide →

Overview

Infosys

105 questions

Easy 32Medium 57Hard 16
TCS

228 questions

Easy 99Medium 108Hard 21

Preparation Strategy

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

Step 2 — Company-specific depth: Add Infosys-specific problems like Maximum Good Subtree Score, Find Building Where Alice and Bob Can Meet, Minimum Reverse Operations and TCS-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Infosys
32
TCS
99
Medium
Infosys
57
TCS
108
Hard
Infosys
16
TCS
21

Top Shared Topics

62 Shared Questions

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

ProblemDifficulty
Two SumEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Valid ParenthesesEasy
Merge Sorted ArrayEasy
Next PermutationMedium
Palindrome NumberEasy
Remove Duplicates from Sorted ArrayEasy
Maximum SubarrayMedium
Reverse StringEasy
Valid AnagramEasy
Second Highest SalaryMedium
Rotate ImageMedium
Trapping Rain WaterHard
Product of Array Except SelfMedium
Longest Common PrefixEasy
Merge IntervalsMedium
Generate ParenthesesMedium
Spiral MatrixMedium
Rotate ArrayMedium
Reverse IntegerMedium
3SumMedium
Fibonacci NumberEasy
Group AnagramsMedium
Set Matrix ZeroesMedium
Linked List Cycle IIMedium
Move ZeroesEasy
Reverse Words in a StringMedium
Two Sum II - Input Array Is SortedMedium
Add Two NumbersMedium

Showing top 30 of 62 shared problems.

Unique to Infosys (43)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Find Building Where Alice and Bob Can MeetHard
Minimum Reverse OperationsHard
Count the Number of Ideal ArraysHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Maximize the Minimum Game ScoreHard
Find the Number of Subsequences With Equal GCDHard
Determine the Minimum Sum of a k-avoiding ArrayMedium
Largest Number After Mutating SubstringMedium
Minimum Total Distance TraveledHard

Unique to TCS (166)

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

ProblemDifficulty
Friday Purchases IMedium
Majority ElementEasy
Sort ColorsMedium
Single NumberEasy
Contains DuplicateEasy
Remove Letter To Equalize FrequencyEasy
Maximum Ascending Subarray SumEasy
Count the Digits That Divide a NumberEasy
Maximum Product SubarrayMedium
Task SchedulerMedium
Check if Array Is Sorted and RotatedEasy
Zigzag Grid Traversal With SkipEasy

Frequently Asked Questions

How many LeetCode questions do Infosys and TCS share?

Infosys and TCS share 62 LeetCode interview questions. 43 problems appear only in Infosys's list and 166 appear only in TCS's list.

What topics overlap most between Infosys and TCS?

The most common shared topics between Infosys and TCS are Array (17 shared questions), Two Pointers (11 shared questions), String (8 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: Infosys or TCS?

Infosys has 32 Easy, 57 Medium, and 16 Hard questions. TCS has 99 Easy, 108 Medium, and 21 Hard questions. Infosys has a higher proportion of Hard problems in its interview set.

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

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

Explore More