Infosys vs Twitter Interview Questions
Infosys lists 105 LeetCode interview questions while Twitter lists 53. They share 4 problems — 4% of Infosys's bank and 8% of Twitter's. Focus on the overlap first, then drill into 101 Infosys-only and 49 Twitter-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 Twitter.
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 Twitter-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Twitter 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 Twitter.
| 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 Twitter.
Unique to Twitter (49)
Problems in Twitter's list that do not appear at Infosys.
| Problem | Difficulty |
|---|---|
| Regular Expression Matching | Hard |
| Merge k Sorted Lists | Hard |
| Multiply Strings | Medium |
| Wildcard Matching | Hard |
| Permutation Sequence | Hard |
| Pascal's Triangle | Easy |
| Word Break II | Hard |
| LRU Cache | Medium |
| Time Needed to Buy Tickets | Easy |
| Max Points on a Line | Hard |
| One Edit Distance | Medium |
| Happy Number | Easy |
Frequently Asked Questions
How many LeetCode questions do Infosys and Twitter share?
Infosys and Twitter share 4 LeetCode interview questions. 101 problems appear only in Infosys's list and 49 appear only in Twitter's list.
What topics overlap most between Infosys and Twitter?
The most common shared topics between Infosys and Twitter 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 Twitter?
Infosys has 32 Easy, 57 Medium, and 16 Hard questions. Twitter has 8 Easy, 33 Medium, and 12 Hard questions. Twitter has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Infosys and Twitter?
Start with the 4 shared problems since they cover what both companies ask most often. Then add 20 Infosys-specific and 20 Twitter-specific questions to round out your prep.