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.

Read the full Infosys vs Twitter preparation guide →

Overview

Infosys

105 questions

Easy 32Medium 57Hard 16
Twitter

53 questions

Easy 8Medium 33Hard 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 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

Easy
Infosys
32
Twitter
8
Medium
Infosys
57
Twitter
33
Hard
Infosys
16
Twitter
12

Top Shared Topics

4 Shared Questions

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

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 Twitter.

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 Twitter (49)

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

ProblemDifficulty
Regular Expression MatchingHard
Merge k Sorted ListsHard
Multiply StringsMedium
Wildcard MatchingHard
Permutation SequenceHard
Pascal's TriangleEasy
Word Break IIHard
LRU CacheMedium
Time Needed to Buy TicketsEasy
Max Points on a LineHard
One Edit DistanceMedium
Happy NumberEasy

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.

Explore More