Google vs TCS Interview Questions

Google lists 2,305 LeetCode interview questions while TCS lists 228. They share 224 problems — 10% of Google's bank and 98% of TCS's. Focus on the overlap first, then drill into 2,081 Google-only and 4 TCS-only questions.

Read the full Google vs TCS preparation guide →

Overview

Google

2,305 questions

Easy 601Medium 1205Hard 499
TCS

228 questions

Easy 99Medium 108Hard 21

Preparation Strategy

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

Step 2 — Company-specific depth: Add Google-specific problems like Merge Strings Alternately, Meeting Rooms II, Decode String and TCS-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Google
601
TCS
99
Medium
Google
1205
TCS
108
Hard
Google
499
TCS
21

Top Shared Topics

224 Shared Questions

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

ProblemDifficulty
Two SumEasy
Add Two NumbersMedium
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
Longest Common PrefixEasy
Palindrome NumberEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
3SumMedium
Create Hello World FunctionEasy
Longest Palindromic SubstringMedium
Longest Consecutive SequenceMedium
Container With Most WaterMedium
Recyclable and Low Fat ProductsEasy
Valid ParenthesesEasy
Majority ElementEasy
Roman to IntegerEasy
Merge IntervalsMedium
Number of IslandsMedium
Maximum SubarrayMedium
Reverse IntegerMedium
Remove Duplicates from Sorted ArrayEasy
Subarray Sum Equals KMedium
Climbing StairsEasy
Merge Two Sorted ListsEasy
Next PermutationMedium
Generate ParenthesesMedium
Spiral MatrixMedium
Reverse Linked ListEasy

Showing top 30 of 224 shared problems.

Unique to Google (2,081)

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

ProblemDifficulty
Merge Strings AlternatelyEasy
Meeting Rooms IIMedium
Decode StringMedium
Add Two IntegersEasy
Minimum Number of Increments on Subarrays to Form a Target ArrayHard
Concatenation of ArrayEasy
Split Array Largest SumHard
Find Peak ElementMedium
Kth Largest Element in an ArrayMedium
Viewers Turned StreamersHard
Logger Rate LimiterEasy
Longest Repeating Character ReplacementMedium

Unique to TCS (4)

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

ProblemDifficulty
Friday Purchases IMedium
Minimum Operations to Exceed Threshold Value IEasy
Palindrome Partitioning IVHard
Smallest Sufficient TeamHard

Frequently Asked Questions

How many LeetCode questions do Google and TCS share?

Google and TCS share 224 LeetCode interview questions. 2081 problems appear only in Google's list and 4 appear only in TCS's list.

What topics overlap most between Google and TCS?

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

Which company asks harder LeetCode questions: Google or TCS?

Google has 601 Easy, 1205 Medium, and 499 Hard questions. TCS has 99 Easy, 108 Medium, and 21 Hard questions. Google has a higher proportion of Hard problems in its interview set.

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

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

Explore More