KatInterview

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

  1. 1Recruiter screenBackground and team fit.
  2. 2Technical screenA coding interview, sometimes preceded by an online assessment.
  3. 3Loop interviewsAbout four rounds: coding problems of medium difficulty, design (system or object-oriented, depending on level) and behavioral questions woven into each round.
  4. 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-pointers
  • Find the minimum length of a contiguous subarray containing at least K unique elements using a sliding window.

    Auto-gradedsliding-windowtwo-pointershash-tablearrays
  • Build 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

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-pointers
  • Find 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-pointersintersection
  • Reverse 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.

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-pointersgreedysuffix
  • Find 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-mapstrings
  • Parse 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

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-transformationcrdt
  • Design 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-controlidempotencyinventorytransactions
  • Architect 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.

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.