TCS vs Yandex Interview Questions

TCS lists 228 LeetCode interview questions while Yandex lists 128. They share 63 problems — 28% of TCS's bank and 49% of Yandex's. Focus on the overlap first, then drill into 165 TCS-only and 65 Yandex-only questions.

Read the full TCS vs Yandex preparation guide →

Overview

TCS

228 questions

Easy 99Medium 108Hard 21
Yandex

128 questions

Easy 51Medium 67Hard 10

Preparation Strategy

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

Step 2 — Company-specific depth: Add TCS-specific problems like Friday Purchases I, Longest Common Prefix, Sort Colors and Yandex-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
TCS
99
Yandex
51
Medium
TCS
108
Yandex
67
Hard
TCS
21
Yandex
10

Top Shared Topics

63 Shared Questions

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

ProblemDifficulty
Two SumEasy
Longest Palindromic SubstringMedium
Palindrome NumberEasy
Maximum SubarrayMedium
Move ZeroesEasy
Majority ElementEasy
Best Time to Buy and Sell StockEasy
Valid AnagramEasy
Valid ParenthesesEasy
Longest Substring Without Repeating CharactersMedium
Subarray Sum Equals KMedium
Median of Two Sorted ArraysHard
Container With Most WaterMedium
Remove Duplicates from Sorted ArrayEasy
Reverse IntegerMedium
Valid PalindromeEasy
Spiral MatrixMedium
First Unique Character in a StringEasy
Trapping Rain WaterHard
Merge Sorted ArrayEasy
Search in Rotated Sorted ArrayMedium
Merge IntervalsMedium
Employees Earning More Than Their ManagersEasy
Search Insert PositionEasy
Add BinaryEasy
Squares of a Sorted ArrayEasy
Add Two NumbersMedium
Generate ParenthesesMedium
Remove Nth Node From End of ListMedium
4SumMedium

Showing top 30 of 63 shared problems.

Unique to TCS (165)

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

ProblemDifficulty
Friday Purchases IMedium
Longest Common PrefixEasy
Sort ColorsMedium
Find the Index of the First Occurrence in a StringEasy
Single NumberEasy
Second Highest SalaryMedium
Rotate ArrayMedium
3SumMedium
Jump GameMedium
Contains DuplicateEasy
Remove Letter To Equalize FrequencyEasy
Maximum Ascending Subarray SumEasy

Unique to Yandex (65)

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

ProblemDifficulty
Summary RangesEasy
Maximize Distance to Closest PersonMedium
Valid Palindrome IIEasy
One Edit DistanceMedium
Isomorphic StringsEasy
Line ReflectionMedium
Longest Strictly Increasing or Strictly Decreasing SubarrayEasy
Find All Anagrams in a StringMedium
Find the Prefix Common Array of Two ArraysMedium
Insert Delete GetRandom O(1)Medium
Interval List IntersectionsMedium
Is SubsequenceEasy

Frequently Asked Questions

How many LeetCode questions do TCS and Yandex share?

TCS and Yandex share 63 LeetCode interview questions. 165 problems appear only in TCS's list and 65 appear only in Yandex's list.

What topics overlap most between TCS and Yandex?

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

Which company asks harder LeetCode questions: TCS or Yandex?

TCS has 99 Easy, 108 Medium, and 21 Hard questions. Yandex has 51 Easy, 67 Medium, and 10 Hard questions. TCS has a higher proportion of Hard problems in its interview set.

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

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

Explore More