Interview guide
Microsoft software engineer interview
Microsoft hires mostly by team, so the exact loop varies between organizations. Candidates commonly report a recruiter screen, one technical screen and a loop of about four interviews covering coding, design and behavioral questions, often ending with a senior interviewer or hiring manager.
The interview loop
- 1Recruiter screenBackground and team fit.
- 2Technical screenA coding interview, sometimes preceded by an online assessment.
- 3Loop interviewsAbout four rounds: coding problems of medium difficulty, design (system or object-oriented, depending on level) and behavioral questions woven into each round.
- 4Final interviewOften with a senior leader or hiring manager, focused on judgment, collaboration and growth.
How to prepare
- Ask the recruiter about the team's focus — cloud, devices and productivity teams emphasize different things.
- Explain your reasoning clearly; interviewers often value communication as much as the optimal answer.
- Prepare stories about learning from failure and working with other teams.
What to practise
Original KatInterview problems for the skills this loop tests. They are not Microsoft interview questions.
Arrays & Hashing
All Arrays & Hashing problems →Classic array and hash map problems are the most common starting point.
Find the shortest contiguous slice of an integer list containing exactly k different values, using a sliding window with frequency counts.
Auto-gradedsliding-windowhash-mapsubarraytwo-pointersFind the minimum length of a contiguous subarray containing at least K unique elements using a sliding window.
Auto-gradedsliding-windowtwo-pointershash-tablearraysBuild an array where each entry is the product of all other entries, without division, in linear time, using prefix and suffix running products.
Auto-gradedprefix-productsuffix-productarrayin-place
Linked Lists
All Linked Lists problems →Pointer manipulation questions still appear more often than at some peers.
Compute a list's minimum, its reversal, and whether a target exists in a row- and column-sorted matrix, all in one combined function.
Auto-gradedlinked-listreversalmatrix-searchtwo-pointersFind the first node of one chain that also lies on a second chain, where both chains are encoded in a single successor array, or report -1 if they never converge.
Auto-gradedlinked-listhash-settwo-pointersintersectionReverse each full consecutive block of k items in a list, leaving a shorter leftover tail unchanged; tests pointer-style reversal logic and boundary handling.
Auto-gradedlinked-listin-place-reversaltwo-pointerssimulation
Trees & Graphs
All Trees & Graphs problems →Tree traversal and recursion are frequent.
Parse a JSON string into formatted stop lines and turn employee rows into a sorted, indented reporting-tree outline using an adjacency list and iterative DFS.
Auto-gradedjsontreedfssortingProduce the lexicographically smallest valid course order from prerequisite pairs, or an empty list if a cycle makes it impossible, using a topological sort with a min-heap.
Auto-gradedtopological-sortgraphheapcycle-detectionFind the minimum Manhattan distance between any pair of target characters in a 2D character grid.
Auto-gradedbfsmatrixdistance-transformgraphs
Strings
All Strings problems →String manipulation and parsing are common medium problems.
Find the lexicographically greatest suffix of a long lowercase string in linear time by comparing candidate start positions without copying and skipping eliminated blocks.
Auto-gradedstringstwo-pointersgreedysuffixFind the length of the longest contiguous stretch of a string using no more than k different characters, testing the sliding-window technique with a frequency map.
Auto-gradedsliding-windowtwo-pointershash-mapstringsParse an English number phrase (up to millions, optional "negative" prefix) into its integer value using a single left-to-right pass with group accumulators.
Auto-gradedstring-parsingtokenizationhash-mapsimulation
System Design
All System Design problems →Expected from mid-level roles upward.
Design a service where many people edit one document at once, see each other's changes quickly, keep history, show live cursors, and can work offline, all while converging to one state.
Model answersystem-designreal-timeoperational-transformationcrdtDesign a stock service that reports sellable quantity and reserves items for orders without overselling under concurrency, with idempotent retries, expiry, and contention handling.
Model answerconcurrency-controlidempotencyinventorytransactionsArchitect a distributed inventory, reservation, and circulation platform across multiple physical locations with transactional guarantees, idempotency, and search index synchronization.
Model answersystem-designdistributed-systemsconcurrencydatabases
Behavioral
All Behavioral problems →Growth mindset, collaboration and customer focus come up throughout.
Prepare structured behavioral answers across six key product management themes tailored for a live-services mobile game studio interview.
Model answerBehavioral QuestionsProduct ManagementLeadershipLive OperationsBehavioral question: recount a real technical error from an internship or project, explain its root cause, how you worked with others to fix it, and the lasting habits you built.
Model answerbehavioralaccountabilityroot-cause-analysisfeedbackPrepare a structured account of a technically demanding project you led, plus a story about shipping under deadline pressure while managing correctness risk and technical debt.
Model answerbehavioraltechnical-leadershipproject-deep-divetrade-offs
Other company guides
KatInterview is not affiliated with Microsoft. This guide summarizes publicly shared candidate experiences; the process varies by team and level and changes over time. Last reviewed 2026-11-04.