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
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
Top Shared Topics
4 Shared Questions
High-priority problems to practice for both Infosys and X.
| Problem | Difficulty |
|---|---|
| Valid Parentheses | Easy |
| Trapping Rain Water | Hard |
| Merge Intervals | Medium |
| Integer to Roman | Medium |
Unique to Infosys (101)
Problems in Infosys's list that do not appear at X.
Unique to X (47)
Problems in X's list that do not appear at Infosys.
| Problem | Difficulty |
|---|---|
| Tweet Counts Per Frequency | Medium |
| LRU Cache | Medium |
| Flatten Nested List Iterator | Medium |
| Implement Trie (Prefix Tree) | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Design Twitter | Medium |
| Binary Gap | Easy |
| Regular Expression Matching | Hard |
| Word Break II | Hard |
| Alien Dictionary | Hard |
| Time Needed to Buy Tickets | Easy |
| Max Points on a Line | Hard |
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.