Infosys vs Microsoft Interview Questions

Infosys lists 105 LeetCode interview questions while Microsoft lists 192. They share 60 problems — 57% of Infosys's bank and 31% of Microsoft's. Focus on the overlap first, then drill into 45 Infosys-only and 132 Microsoft-only questions.

Read the full Infosys vs Microsoft preparation guide →

Overview

Infosys

105 questions

Easy 32Medium 57Hard 16
Microsoft

192 questions

Easy 55Medium 109Hard 28

Preparation Strategy

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

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

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

Difficulty Comparison

Easy
Infosys
32
Microsoft
55
Medium
Infosys
57
Microsoft
109
Hard
Infosys
16
Microsoft
28

Top Shared Topics

60 Shared Questions

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

ProblemDifficulty
Two SumEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Valid ParenthesesEasy
Merge Sorted ArrayEasy
Next PermutationMedium
Palindrome NumberEasy
Remove Duplicates from Sorted ArrayEasy
Maximum SubarrayMedium
Valid AnagramEasy
Rotate ImageMedium
Trapping Rain WaterHard
Product of Array Except SelfMedium
Longest Common PrefixEasy
Merge IntervalsMedium
Generate ParenthesesMedium
Spiral MatrixMedium
Rotate ArrayMedium
Reverse IntegerMedium
3SumMedium
Group AnagramsMedium
Set Matrix ZeroesMedium
Move ZeroesEasy
Reverse Words in a StringMedium
Two Sum II - Input Array Is SortedMedium
Add Two NumbersMedium
Kth Largest Element in an ArrayMedium
Longest Palindromic SubstringMedium
Climbing StairsEasy
House RobberMedium

Showing top 30 of 60 shared problems.

Unique to Infosys (45)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Find Building Where Alice and Bob Can MeetHard
Minimum Reverse OperationsHard
Count the Number of Ideal ArraysHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Maximize the Minimum Game ScoreHard
Find the Number of Subsequences With Equal GCDHard
Determine the Minimum Sum of a k-avoiding ArrayMedium
Largest Number After Mutating SubstringMedium
Minimum Total Distance TraveledHard

Unique to Microsoft (132)

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

ProblemDifficulty
Merge k Sorted ListsHard
Sort ColorsMedium
Create Hello World FunctionEasy
Letter Combinations of a Phone NumberMedium
Word SearchMedium
Minimum Edge Reversals So Every Node Is ReachableHard
Find Peak ElementMedium
K-th Smallest in Lexicographical OrderHard
Max Consecutive OnesEasy
Minimum Size Subarray SumMedium
Recyclable and Low Fat ProductsEasy
Remove ElementEasy

Frequently Asked Questions

How many LeetCode questions do Infosys and Microsoft share?

Infosys and Microsoft share 60 LeetCode interview questions. 45 problems appear only in Infosys's list and 132 appear only in Microsoft's list.

What topics overlap most between Infosys and Microsoft?

The most common shared topics between Infosys and Microsoft are Array (19 shared questions), Two Pointers (10 shared questions), String (8 shared questions), Dynamic Programming (7 shared questions), Sorting (6 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Infosys or Microsoft?

Infosys has 32 Easy, 57 Medium, and 16 Hard questions. Microsoft has 55 Easy, 109 Medium, and 28 Hard questions. Infosys has a higher proportion of Hard problems in its interview set.

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

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

Explore More