Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
  1. Interview Questions
  2. /
  3. Microsoft

Microsoft LeetCode Interview Questions

Practice 54 real coding problems frequently asked in Microsoft technical interviews. Master these questions to ace your next Microsoft software engineering interview.

20 Easy
27 Medium
7 Hard

Top Topics at Microsoft

ArrayHash TableStringTwo PointersDynamic Programming

Ace your Microsoft interview with AI

Get real-time AI assistance during your actual interview. Invisible to screensharing.

Start Free Trial

Microsoft Interview Problems

ProblemDifficultyDiffFrequencyTopicsAction
Two Sum
100%
EasyE
100%
ArrayHash Table
Solve→
Digit Operations to Make Two Integers Equal
100%
MediumM
100%
MathGraph+3
Solve→
Merge Sorted Array
92%
EasyE
92%
ArrayTwo Pointers+1
Solve→
LRU Cache
88%
MediumM
88%
Hash TableLinked List+2
Solve→
Longest Substring Without Repeating Characters
84%
MediumM
84%
Hash TableString+1
Solve→
Maximum Subarray
79%
MediumM
79%
ArrayDivide and Conquer+1
Solve→
Climbing Stairs
79%
EasyE
79%
MathDynamic Programming+1
Solve→
Recyclable and Low Fat Products
79%
EasyE
79%
Database
Solve→
Remove Element
73%
EasyE
73%
ArrayTwo Pointers
Solve→
Merge Strings Alternately
73%
EasyE
73%
Two PointersString
Solve→
Add Two Integers
73%
EasyE
73%
Math
Solve→
Add Two Numbers
66%
MediumM
66%
Linked ListMath+1
Solve→
Median of Two Sorted Arrays
66%
HardH
66%
ArrayBinary Search+1
Solve→
Palindrome Number
66%
EasyE
66%
Math
Solve→
Longest Common Prefix
66%
EasyE
66%
StringTrie
Solve→
Best Time to Buy and Sell Stock
66%
EasyE
66%
ArrayDynamic Programming
Solve→
Single Number
66%
EasyE
66%
ArrayBit Manipulation
Solve→
Number of Islands
66%
MediumM
66%
ArrayDepth-First Search+3
Solve→
Move Zeroes
66%
EasyE
66%
ArrayTwo Pointers
Solve→
Subarray Sum Equals K
66%
MediumM
66%
ArrayHash Table+1
Solve→
Flood Fill
66%
EasyE
66%
ArrayDepth-First Search+2
Solve→
Koko Eating Bananas
66%
MediumM
66%
ArrayBinary Search
Solve→
Maximum Matrix Sum
66%
MediumM
66%
ArrayGreedy+1
Solve→
Create Hello World Function
66%
EasyE
66%
Solve→
Longest Palindromic Substring
55%
MediumM
55%
Two PointersString+1
Solve→

Pass your interview with AI assistance

Get real-time solutions during your actual coding interview. Invisible to screensharing.

Start Free Trial
Integer to Roman
55%
MediumM
55%
Hash TableMath+1
Solve→
4Sum
55%
MediumM
55%
ArrayTwo Pointers+1
Solve→
Merge k Sorted Lists
55%
HardH
55%
Linked ListDivide and Conquer+2
Solve→
Search in Rotated Sorted Array
55%
MediumM
55%
ArrayBinary Search
Solve→
Spiral Matrix
55%
MediumM
55%
ArrayMatrix+1
Solve→
Jump Game
55%
MediumM
55%
ArrayDynamic Programming+1
Solve→
Subsets II
55%
MediumM
55%
ArrayBacktracking+1
Solve→
Binary Tree Maximum Path Sum
55%
HardH
55%
Dynamic ProgrammingTree+2
Solve→
Longest Consecutive Sequence
55%
MediumM
55%
ArrayHash Table+1
Solve→
Copy List with Random Pointer
55%
MediumM
55%
Hash TableLinked List
Solve→
Min Stack
55%
MediumM
55%
StackDesign
Solve→
Two Sum II - Input Array Is Sorted
55%
MediumM
55%
ArrayTwo Pointers+1
Solve→
Majority Element
55%
EasyE
55%
ArrayHash Table+3
Solve→
House Robber
55%
MediumM
55%
ArrayDynamic Programming
Solve→
Isomorphic Strings
55%
EasyE
55%
Hash TableString
Solve→
House Robber II
55%
MediumM
55%
ArrayDynamic Programming
Solve→
Alien Dictionary
55%
HardH
55%
ArrayString+4
Solve→
Integer to English Words
55%
HardH
55%
MathString+1
Solve→
Word Pattern II
55%
MediumM
55%
Hash TableString+1
Solve→
Permutation in String
55%
MediumM
55%
Hash TableTwo Pointers+2
Solve→
K Inverse Pairs Array
55%
HardH
55%
Dynamic Programming
Solve→
Rotting Oranges
55%
MediumM
55%
ArrayBreadth-First Search+1
Solve→
Remove All Adjacent Duplicates In String
55%
EasyE
55%
StringStack
Solve→
Flip Columns For Maximum Number of Equal Rows
55%
MediumM
55%
ArrayHash Table+1
Solve→
Check If N and Its Double Exist
55%
EasyE
55%
ArrayHash Table+3
Solve→

Pass your interview with AI assistance

Get real-time solutions during your actual coding interview. Invisible to screensharing.

Start Free Trial
Check If a Word Occurs As a Prefix of Any Word in a Sentence
55%
EasyE
55%
Two PointersString+1
Solve→
Two Best Non-Overlapping Events
55%
MediumM
55%
ArrayBinary Search+3
Solve→
Minimum Time to Visit a Cell In a Grid
55%
HardH
55%
ArrayBreadth-First Search+4
Solve→
Final Array State After K Multiplication Operations I
55%
EasyE
55%
ArrayMath+2
Solve→

Similar Companies

Explore interview questions from other companies with similar interview patterns.

American Express
50 problems
Amobee
50 problems
Amperity
50 problems
Angi
50 problems
Appdynamics
50 problems
Avalara
50 problems

Frequently Asked Questions

What LeetCode problems does Microsoft ask in interviews?

Microsoft commonly asks 54 coding problems in technical interviews, including Two Sum, Digit Operations to Make Two Integers Equal, Merge Sorted Array. The difficulty breakdown is 20 Easy, 27 Medium, and 7 Hard problems.

How should I prepare for a Microsoft coding interview?

Focus on the most frequently asked problems first, especially those with high frequency scores. Microsoft interviews typically emphasize Array and Hash Table. Practice explaining your thought process while coding.

What is the difficulty level of Microsoft coding interviews?

Based on our data, Microsoft interviews include 20 Easy (37%), 27 Medium (50%), and 7 Hard (13%) problems.

Ready to ace your Microsoft interview?

Join thousands of engineers who landed offers at top tech companies.

Get Started Free

No credit card required

All CompaniesEasy ProblemsMedium ProblemsHard ProblemsBrowse by Topic
Interview Solver
  • Home
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Discord Community
  • Affiliate Program
  • Compare
  • All Comparisons
  • vs Final Round AI
  • vs UltraCode
  • vs Interview Coder
  • vs LockedIn AI
  • vs AI Apply
  • Free Tools
  • ATS Resume Checker
  • STAR Method Builder
  • Salary Lookup
  • Big O Cheat Sheet
  • Total Comp Calculator
  • View All →
  • Interview Questions
  • Google Questions
  • Amazon Questions
  • Microsoft Questions
  • Meta Questions
  • Apple Questions
  • TikTok Questions
  • View All →
© 2026 Interview Solver, Inc. All rights reserved.