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.
Overview
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
Top Shared Topics
60 Shared Questions
High-priority problems to practice for both Infosys and Microsoft.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Valid Parentheses | Easy |
| Merge Sorted Array | Easy |
| Next Permutation | Medium |
| Palindrome Number | Easy |
| Remove Duplicates from Sorted Array | Easy |
| Maximum Subarray | Medium |
| Valid Anagram | Easy |
| Rotate Image | Medium |
| Trapping Rain Water | Hard |
| Product of Array Except Self | Medium |
| Longest Common Prefix | Easy |
| Merge Intervals | Medium |
| Generate Parentheses | Medium |
| Spiral Matrix | Medium |
| Rotate Array | Medium |
| Reverse Integer | Medium |
| 3Sum | Medium |
| Group Anagrams | Medium |
| Set Matrix Zeroes | Medium |
| Move Zeroes | Easy |
| Reverse Words in a String | Medium |
| Two Sum II - Input Array Is Sorted | Medium |
| Add Two Numbers | Medium |
| Kth Largest Element in an Array | Medium |
| Longest Palindromic Substring | Medium |
| Climbing Stairs | Easy |
| House Robber | Medium |
Showing top 30 of 60 shared problems.
Unique to Infosys (45)
Problems in Infosys's list that do not appear at Microsoft.
Unique to Microsoft (132)
Problems in Microsoft's list that do not appear at Infosys.
| Problem | Difficulty |
|---|---|
| Merge k Sorted Lists | Hard |
| Sort Colors | Medium |
| Create Hello World Function | Easy |
| Letter Combinations of a Phone Number | Medium |
| Word Search | Medium |
| Minimum Edge Reversals So Every Node Is Reachable | Hard |
| Find Peak Element | Medium |
| K-th Smallest in Lexicographical Order | Hard |
| Max Consecutive Ones | Easy |
| Minimum Size Subarray Sum | Medium |
| Recyclable and Low Fat Products | Easy |
| Remove Element | Easy |
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.