Microsoft
Loops that lean on practical engineering judgment — clean code, testing, and how you handle ambiguity matter as much as finding the optimal algorithm.
Typical loop
- 1Recruiter screen
- 2Technical phone screen
- 3Onsite: three to four coding and design rounds
- 4System design round for senior roles
- 5As-appropriate round with a senior leader
Questions
Callback's practice questions and the LeetCode questions Microsoft has been asking, filtered together.
Asked on LeetCode
1,384 questions · all time
- Maximum Product of Three NumberseasyArrayMathSortingfrequency 25.0
- Maximum Unique Subarray Sum After DeletioneasyArrayHash TableGreedyfrequency 25.0
- Min Cost Climbing StairseasyArrayDynamic Programmingfrequency 25.0
- Minimum Depth of Binary TreeeasyTreeDepth-First SearchBreadth-First SearchBinary Treefrequency 25.0
- Minimum Number of Steps to Make Two Strings AnagrammediumHash TableStringCountingfrequency 25.0
- Minimum Time DifferencemediumArrayMathStringSortingfrequency 25.0
- New 21 GamemediumMathDynamic ProgrammingSliding WindowProbability and Statisticsfrequency 25.0
- Number of Good PairseasyArrayHash TableMathCountingfrequency 25.0
- Rectangle OverlapeasyMathGeometryfrequency 25.0
- Remove All Adjacent Duplicates In StringeasyStringStackfrequency 25.0
- Russian Doll EnvelopeshardArrayBinary SearchDynamic ProgrammingSorting+1frequency 25.0
- Shortest Subarray with Sum at Least KhardArrayBinary SearchQueueSliding Window+3frequency 25.0
- String Compression IIhardStringDynamic Programmingfrequency 25.0
- Sum of Beauty of All SubstringsmediumHash TableStringCountingfrequency 25.0
- Summary RangeseasyArrayfrequency 25.0
- Ugly NumbereasyMathfrequency 25.0
- Ugly Number IImediumHash TableMathDynamic ProgrammingHeap (Priority Queue)frequency 25.0
- Unique Number of OccurrenceseasyArrayHash Tablefrequency 25.0
- Unique Paths IImediumArrayDynamic ProgrammingMatrixfrequency 25.0
- Word PatterneasyHash TableStringfrequency 25.0
- Word SubsetsmediumArrayHash TableStringfrequency 25.0
- Alien DictionaryhardArrayStringDepth-First SearchBreadth-First Search+3frequency 22.5
- Base 7easyMathStringfrequency 22.5
- Binary Tree CamerashardDynamic ProgrammingTreeDepth-First SearchBinary Tree+1frequency 22.5
- Binary Tree Vertical Order TraversalmediumHash TableTreeDepth-First SearchBreadth-First Search+2frequency 22.5
- Calculate Money in Leetcode BankeasyMathfrequency 22.5
- Can Make Arithmetic Progression From SequenceeasyArraySortingfrequency 22.5
- Concatenate Non-Zero Digits and Multiply by Sum IeasyMathfrequency 22.5
- Convert Integer to the Sum of Two No-Zero IntegerseasyMathfrequency 22.5
- Count Complete Tree NodesmediumBinary SearchBit ManipulationTreeBinary Treefrequency 22.5
- Count Negative Numbers in a Sorted MatrixeasyArrayBinary SearchMatrixfrequency 22.5
- Count and SaymediumStringfrequency 22.5
- Critical Connections in a NetworkhardDepth-First SearchGraph TheoryBiconnected ComponentBridge (Graph)frequency 22.5
- Customer Placing the Largest Number of OrderseasyDatabasefrequency 22.5
- Delete Node in a BSTmediumTreeBinary Search TreeBinary Treefrequency 22.5
- Delete and EarnmediumArrayHash TableDynamic Programmingfrequency 22.5
- Delete the Middle Node of a Linked ListmediumLinked ListTwo Pointersfrequency 22.5
- Design Hit CountermediumArrayBinary SearchDesignQueue+1frequency 22.5
- Design In-Memory File SystemhardHash TableStringDesignTrie+1frequency 22.5
- Different Ways to Add ParenthesesmediumMathStringDynamic ProgrammingRecursion+2frequency 22.5
- Evaluate DivisionmediumArrayStringDepth-First SearchBreadth-First Search+5frequency 22.5
- Factorial Trailing ZeroesmediumMathfrequency 22.5
- Find K Pairs with Smallest SumsmediumArrayHeap (Priority Queue)frequency 22.5
- Find Winner on a Tic Tac Toe GameeasyArrayHash TableMatrixSimulationfrequency 22.5
- Find the CelebritymediumTwo PointersGraph TheoryInteractivefrequency 22.5
- Find the Winner of the Circular GamemediumArrayMathRecursionQueue+1frequency 22.5
- Game Play Analysis IeasyDatabasefrequency 22.5
- Grid GamemediumArrayMatrixPrefix Sumfrequency 22.5
- Guess Number Higher or LowereasyBinary SearchInteractivefrequency 22.5
- Immediate Food Delivery IImediumDatabasefrequency 22.5