Microsoft vs Visa Interview Questions
Microsoft lists 192 LeetCode interview questions while Visa lists 146. They share 61 problems — 32% of Microsoft's bank and 42% of Visa's. Focus on the overlap first, then drill into 131 Microsoft-only and 85 Visa-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 61 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Microsoft and Visa.
Step 2 — Company-specific depth: Add Microsoft-specific problems like Add Two Numbers, Single Element in a Sorted Array, Roman to Integer and Visa-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Visa skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
61 Shared Questions
High-priority problems to practice for both Microsoft and Visa.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Merge Sorted Array | Easy |
| Longest Substring Without Repeating Characters | Medium |
| Longest Palindromic Substring | Medium |
| Trapping Rain Water | Hard |
| Merge Intervals | Medium |
| Median of Two Sorted Arrays | Hard |
| Valid Parentheses | Easy |
| 3Sum | Medium |
| Maximum Subarray | Medium |
| Group Anagrams | Medium |
| Search in Rotated Sorted Array | Medium |
| Reverse Nodes in k-Group | Hard |
| Merge Two Sorted Lists | Easy |
| Spiral Matrix | Medium |
| Container With Most Water | Medium |
| Rotate Image | Medium |
| Sort Colors | Medium |
| Longest Common Prefix | Easy |
| Letter Combinations of a Phone Number | Medium |
| Number of Islands | Medium |
| Word Search | Medium |
| Find Peak Element | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Rotate Array | Medium |
| Largest Rectangle in Histogram | Hard |
| Unique Paths | Medium |
| Reverse Words in a String | Medium |
| Happy Number | Easy |
| Binary Tree Level Order Traversal | Medium |
Showing top 30 of 61 shared problems.
Unique to Microsoft (131)
Problems in Microsoft's list that do not appear at Visa.
| Problem | Difficulty |
|---|---|
| Add Two Numbers | Medium |
| Single Element in a Sorted Array | Medium |
| Roman to Integer | Easy |
| Climbing Stairs | Easy |
| Palindrome Number | Easy |
| Merge k Sorted Lists | Hard |
| Remove Duplicates from Sorted Array | Easy |
| Create Hello World Function | Easy |
| Set Matrix Zeroes | Medium |
| Reverse Integer | Medium |
| Generate Parentheses | Medium |
| Minimum Edge Reversals So Every Node Is Reachable | Hard |
Unique to Visa (85)
Problems in Visa's list that do not appear at Microsoft.
Frequently Asked Questions
How many LeetCode questions do Microsoft and Visa share?
Microsoft and Visa share 61 LeetCode interview questions. 131 problems appear only in Microsoft's list and 85 appear only in Visa's list.
What topics overlap most between Microsoft and Visa?
The most common shared topics between Microsoft and Visa are Array (19 shared questions), Two Pointers (9 shared questions), String (8 shared questions), Hash Table (5 shared questions), Sorting (5 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Microsoft or Visa?
Microsoft has 55 Easy, 109 Medium, and 28 Hard questions. Visa has 32 Easy, 92 Medium, and 22 Hard questions. Visa has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Microsoft and Visa?
Start with the 61 shared problems since they cover what both companies ask most often. Then add 20 Microsoft-specific and 20 Visa-specific questions to round out your prep.