eBay vs TCS Interview Questions

eBay lists 62 LeetCode interview questions while TCS lists 228. They share 25 problems — 40% of eBay's bank and 11% of TCS's. Focus on the overlap first, then drill into 37 eBay-only and 203 TCS-only questions.

Read the full eBay vs TCS preparation guide →

Overview

eBay

62 questions

Easy 10Medium 39Hard 13
TCS

228 questions

Easy 99Medium 108Hard 21

Preparation Strategy

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

Step 2 — Company-specific depth: Add eBay-specific problems like Remove One Element to Make the Array Strictly Increasing, Alternating Digit Sum, Binary Gap and TCS-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
eBay
10
TCS
99
Medium
eBay
39
TCS
108
Hard
eBay
13
TCS
21

Top Shared Topics

25 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Partition Equal Subset SumMedium
Two SumEasy
Spiral MatrixMedium
Top K Frequent ElementsMedium
Number of IslandsMedium
Word LadderHard
Pow(x, n)Medium
Set Matrix ZeroesMedium
Merge IntervalsMedium
Valid ParenthesesEasy
Longest Palindromic SubstringMedium
Group AnagramsMedium
Sort Array By ParityEasy
3SumMedium
Rotting OrangesMedium
Sort ColorsMedium
Jump Game IIMedium
Generate ParenthesesMedium
Repeated Substring PatternEasy
Merge k Sorted ListsHard
Best Time to Buy and Sell Stock IIMedium
Palindrome Linked ListEasy
Longest Substring Without Repeating CharactersMedium
Product of Array Except SelfMedium

Unique to eBay (37)

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

ProblemDifficulty
Remove One Element to Make the Array Strictly IncreasingEasy
Alternating Digit SumEasy
Binary GapEasy
Minimize Maximum Pair Sum in ArrayMedium
Minimum Window SubsequenceHard
Design SkiplistHard
Subtree of Another TreeEasy
Open the LockMedium
Binary Tree CamerasHard
Reverse PairsHard
Valid Palindrome IIEasy
Course ScheduleMedium

Unique to TCS (203)

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

ProblemDifficulty
Friday Purchases IMedium
Palindrome NumberEasy
Maximum SubarrayMedium
Move ZeroesEasy
Majority ElementEasy
Longest Common PrefixEasy
Best Time to Buy and Sell StockEasy
Valid AnagramEasy
Find the Index of the First Occurrence in a StringEasy
Single NumberEasy
Second Highest SalaryMedium
Subarray Sum Equals KMedium

Frequently Asked Questions

How many LeetCode questions do eBay and TCS share?

eBay and TCS share 25 LeetCode interview questions. 37 problems appear only in eBay's list and 203 appear only in TCS's list.

What topics overlap most between eBay and TCS?

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

Which company asks harder LeetCode questions: eBay or TCS?

eBay has 10 Easy, 39 Medium, and 13 Hard questions. TCS has 99 Easy, 108 Medium, and 21 Hard questions. eBay has a higher proportion of Hard problems in its interview set.

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

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

Explore More