Infosys vs X Interview Questions

Infosys lists 105 LeetCode interview questions while X lists 51. They share 4 problems — 4% of Infosys's bank and 8% of X's. Focus on the overlap first, then drill into 101 Infosys-only and 47 X-only questions.

Overview

Infosys

105 questions

Easy 32Medium 57Hard 16
X

51 questions

Easy 8Medium 31Hard 12

Preparation Strategy

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

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

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

Difficulty Comparison

Easy
Infosys
32
X
8
Medium
Infosys
57
X
31
Hard
Infosys
16
X
12

Top Shared Topics

4 Shared Questions

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

ProblemDifficulty
Valid ParenthesesEasy
Trapping Rain WaterHard
Merge IntervalsMedium
Integer to RomanMedium

Unique to Infosys (101)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Two SumEasy
Find Building Where Alice and Bob Can MeetHard
Minimum Reverse OperationsHard
Count the Number of Ideal ArraysHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Longest Substring Without Repeating CharactersMedium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Maximize the Minimum Game ScoreHard
Best Time to Buy and Sell StockEasy
Find the Number of Subsequences With Equal GCDHard

Unique to X (47)

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

ProblemDifficulty
Tweet Counts Per FrequencyMedium
LRU CacheMedium
Flatten Nested List IteratorMedium
Implement Trie (Prefix Tree)Medium
Insert Delete GetRandom O(1)Medium
Design TwitterMedium
Binary GapEasy
Regular Expression MatchingHard
Word Break IIHard
Alien DictionaryHard
Time Needed to Buy TicketsEasy
Max Points on a LineHard

Frequently Asked Questions

How many LeetCode questions do Infosys and X share?

Infosys and X share 4 LeetCode interview questions. 101 problems appear only in Infosys's list and 47 appear only in X's list.

What topics overlap most between Infosys and X?

The most common shared topics between Infosys and X are String (2 shared questions), Stack (2 shared questions), Array (2 shared questions), Two Pointers (1 shared questions), Dynamic Programming (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Infosys or X?

Infosys has 32 Easy, 57 Medium, and 16 Hard questions. X has 8 Easy, 31 Medium, and 12 Hard questions. X has a higher proportion of Hard problems in its interview set.

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

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

Explore More