Big Tech

Microsoft interview questions

Grouped by topic, sorted Easy → Medium → Hard, then by LeetCode ID. Click a problem to open it on LeetCode; the chapter column links to the handbook chapter that covers it.

Problems
50
Easy
13
Medium
25
Hard
12
Mapped to chapter
23

Array

18 problems

Medium 9

#TitleDifficultyAlso atChapter
40Combination Sum IIalso at:eBayGoogleMeta Also at 6 moreTeslaAdobeBloombergDiscordRakutenSnap Medium
64Minimum Path Sumalso at:AmazonGoogleMeta Also at 2 moreAdobeGoldman Sachs MediumChapter
90Subsets IIalso at:AmazonGoogleBloomberg Also at 1 moreNiantic MediumChapter
334Increasing Triplet Subsequencealso at:MetaCure.fitNavi Medium
1423Maximum Points You Can Obtain from Cardsalso at:AmazonFlipkartPhonePe Also at 1 moreUber Medium
1727Largest Submatrix With Rearrangementsalso at:AmazonGoogleBloomberg Medium
1980Find Unique Binary Stringalso at:Amazon Medium
2439Minimize Maximum of Arrayalso at:Paytm Medium
3546Equal Sum Grid Partition Ialso at:Google Medium

Hash Table

8 problems

Easy 2

#TitleDifficultyAlso atChapter
202Happy Numberalso at:AmazonCiscoeBay Also at 9 moreGoogleMetaAdobeAirbnbBloombergPayPalSnowflakeSwiggyX (Twitter) EasyChapter
409Longest Palindromealso at:GoogleMeta Easy

String

6 problems

Easy 1

#TitleDifficultyAlso atChapter
657Robot Return to Originalso at:GoogleGoldman Sachs Easy

Hard 2

#TitleDifficultyAlso atChapter
32Longest Valid Parenthesesalso at:AmazoneBayGoogle Also at 8 moreMetaAdobeBloombergFlipkartGrowwInMobiIntuitNykaa Hard
132Palindrome Partitioning IIHardChapter

Tree

6 problems

Medium 6

#TitleDifficultyAlso atChapter
98Validate Binary Search Tree also at:AmazonByteDanceeBay Also at 7 moreGoogleMetaAdobeBloombergCitadelOYOVMware MediumChapter
99Recover Binary Search Tree also at:AmazonGoogle MediumChapter
235Lowest Common Ancestor of a Binary Search Treealso at:AmazonGoogleAdobe Also at 1 moreX (Twitter) MediumChapter
437Path Sum IIIalso at:Google Medium
545Boundary of Binary Treealso at:eBayMetaAdobe Also at 3 moreFreshworksSnowflakeUber Medium
662Maximum Width of Binary Treealso at:AmazoneBayGoogle Also at 1 moreFlipkart Medium

Database

3 problems

Easy 2

#TitleDifficultyAlso atChapter
197Rising Temperaturealso at:AmazonCiscoGoogle Also at 4 moreAdobeBloombergFractal AnalyticsMeesho Easy
595Big Countriesalso at:AmazonGoogleMeta Also at 2 moreAdobeBloomberg Easy

Medium 1

#TitleDifficultyAlso atChapter
180Consecutive Numbersalso at:AmazonBloombergDelhivery Also at 2 moreMeeshoTiger Analytics Medium

Misc

9 problems