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.

Read the full Microsoft vs Visa preparation guide →

Overview

Microsoft

192 questions

Easy 55Medium 109Hard 28
Visa

146 questions

Easy 32Medium 92Hard 22

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

Easy
Microsoft
55
Visa
32
Medium
Microsoft
109
Visa
92
Hard
Microsoft
28
Visa
22

Top Shared Topics

61 Shared Questions

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

ProblemDifficulty
Two SumEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Longest Palindromic SubstringMedium
Trapping Rain WaterHard
Merge IntervalsMedium
Median of Two Sorted ArraysHard
Valid ParenthesesEasy
3SumMedium
Maximum SubarrayMedium
Group AnagramsMedium
Search in Rotated Sorted ArrayMedium
Reverse Nodes in k-GroupHard
Merge Two Sorted ListsEasy
Spiral MatrixMedium
Container With Most WaterMedium
Rotate ImageMedium
Sort ColorsMedium
Longest Common PrefixEasy
Letter Combinations of a Phone NumberMedium
Number of IslandsMedium
Word SearchMedium
Find Peak ElementMedium
Best Time to Buy and Sell StockEasy
Rotate ArrayMedium
Largest Rectangle in HistogramHard
Unique PathsMedium
Reverse Words in a StringMedium
Happy NumberEasy
Binary Tree Level Order TraversalMedium

Showing top 30 of 61 shared problems.

Unique to Microsoft (131)

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

ProblemDifficulty
Add Two NumbersMedium
Single Element in a Sorted ArrayMedium
Roman to IntegerEasy
Climbing StairsEasy
Palindrome NumberEasy
Merge k Sorted ListsHard
Remove Duplicates from Sorted ArrayEasy
Create Hello World FunctionEasy
Set Matrix ZeroesMedium
Reverse IntegerMedium
Generate ParenthesesMedium
Minimum Edge Reversals So Every Node Is ReachableHard

Unique to Visa (85)

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

ProblemDifficulty
Length of Longest V-Shaped Diagonal SegmentHard
Rotating the BoxMedium
Split the ArrayEasy
Minimum Operations to Write the Letter Y on a GridMedium
Find the Length of the Longest Common PrefixMedium
Block Placement QueriesHard
Create Target Array in the Given OrderEasy
Number of Black BlocksMedium
Number of Adjacent Elements With the Same ColorMedium
Maximum Number of Events That Can Be AttendedMedium
Earliest Possible Day of Full BloomHard
Odd String DifferenceEasy

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.

Explore More