All companies

THE INTERVIEW BRIEFING

Microsoft Interview Guide

Prepare for Microsoft with a focused mix of coding, design, and communication. Start with your job description and confirm the interview loop with your recruiter.

10 Question notes 6 Practice picks 11 Interview reports 5 Levels mapped

01 / MAKE YOUR NEXT SESSION COUNT

Your preparation, made concrete.

AlgoDaily practice • not reported questions
0130 min suggested

Find the right array pattern

Merge two sorted arrays. Then adapt your solution when one array has enough unused space to hold both. Explain how you avoid overwriting unread values.

What a strong answer demonstrates

A maintained invariant, correct boundary handling, and justified complexity.

0230 min suggested

Reason about string windows

Find the longest substring without repeating characters. Walk through a repeated character, an empty input, and a string with all unique characters.

What a strong answer demonstrates

Correct window updates, explicit character assumptions, and linear-time reasoning.

0320 min suggested

Behavioral storytelling

Describe a technical decision you changed after receiving feedback. Explain your contribution and the outcome.

What a strong answer demonstrates

Specific actions, honest reflection, and measurable impact.

BEFORE YOU PRACTICE

Ask your recruiter.

Get the details that a generic company guide cannot know.

  • Which team and level is this opening for, and what does success look like?
  • What rounds, durations, and evaluation criteria should I prepare for?
  • Which languages, tools, and AI assistance are permitted?
  • Will design focus on frontend, backend, infrastructure, or another specialty?
  • Are there accommodations or preparation materials I should request?

Microsoft practice problems

Company-linked challenges and related lessons from our library. Not a prediction of your interview.

Questions candidates have reported

Aggregated from candidate submissions and public sources.

Q1
Validate Palindrome: Find the longest palindrome in a string.
Q2
Merge Sorted Linked Lists: How would merge two sorted linked lists without creating a new one so that the outcome is sorted as well.
Q3
Build a Calculator: How to write an evaluator for a string like "(1+3 * ( 5 / 4)) and get a numeric result.
Q4
Reverse a String: Write a C++ code to reverse the order of words in a string, without using any additional buffer.
Q5
Write a function to print an array in a spiral.
Q6
How would you calculate a pixel on a monitor using a singular matrix in memory and change the color?
Q7
How many unique paths are there from b-l point to the t-r point of a chess table? what would be your approach to calculate this?
Q8
Given a 2d matrix of numbers where each row and column is sorted in increasing order, describe an efficient algorithm to test whether a given number is in the matrix.
Q9
Write a program to implement the integer.parseint() function.
Q10
You are give 9 identical marbles. one weighs more than the others but there is no physical way to decipher this. you are given a scale on which you can weigh marbles on either side, but you are only allowed to use the scale twice. figure out which marble weighs more using only your two attempts on the weight scale.

Engineering levels & compensation

Historical figures from existing records; date and location may be unspecified. Verify current ranges on Levels.fyi.

Level 1

SDE · 59

$157,416

$106,235 base · $29,277 stock · $21,904 bonus

Level 2

60

$160,330

$115,286 base · $28,462 stock · $16,582 bonus

Level 3

SDE II · 61

$171,991

$130,848 base · $24,580 stock · $16,563 bonus

Level 4

62

$183,144

$138,285 base · $27,134 stock · $17,725 bonus

Level 5

Senior SDE · 63

$213,361

$153,349 base · $36,919 stock · $23,093 bonus

Real interview experiences

11 reports from candidates who interviewed at Microsoft.

What people at Microsoft say

Reviews originally posted on Glassdoor.

Great benefits with health insurance, legal support, and gym membership. It is a true software company if software engineering is indeed your passion. Base pay and RSUs are lower than industry. Because of that the good people leave for better pay eventually. This causes not only churn, but also reduces the quality of the engineers eventually. Satya did a good job on the image of the company, however when you are inside, many things are the same. Diversity and inclusion is a joke. Most upper mid-level management (some M2s, most directors, DEs, junior VPs) resist to change, so organizations, ICs, M1s get stuck in between.
I work on a great team where my manager actively puts me on work that will allow me to move forward in my career while considering what I am most interested in learning. I have great work/life balance, working 8-4pm most days. As long as your work gets done on time they don't mind which hours you are in the office. Of course this probably changes depending on the team or how high up the ladder you are. It can feel harder to do big exciting new things on a very old code base that we desperately want running smoothly.
Surrounded by brilliant people, work on projects with major impact, work with people from around the world. Corporate structure, sometimes slow to move or change direction, promotion is not necessarily about merit, job is often all-consuming. Be more generous with health benefits. Increase pay. Allow teams to take more chances. Practice what you preach about "work/life balance".
Great change in culture since Satya took over. Supportive environment, lots of new opportunities. Everything is building crazy fast and many tools for building and operating services at scale are behind what Amazon, Google, Facebook have, other tools framework fall to disinvestment/pullback, lots of knowledge sharing still suffers from sharepoint not searchable/restricted access syndrome. Invest heavily in engineering excellence and institutional knowledge and openness.
I have found Microsoft to be a company with an ambitious, competitive, and diverse workforce. Blind spots exist and are like that of other industry leaders. The effort to eliminate them seems sincere if sometimes a little misguided, but its forgivable since management from the top down appears to buy in. Campus construction has made a mess of everything. Program managers want data for everything. Ordinarily that would be good. Sometimes they should embrace their roles as thought and design leaders rather than blindly following where the data takes them. Bring back windows mobile and never quit it again.
Inside the workplace

About Microsoft

A day at Microsoft