For software engineers interviewing at Microsoft

Solve it, then test it, and say what you learned

Microsoft’s careers site says its technical interviews look at problem solving, design, coding and testing, and that interviewers want to see how you think, not only what you know. It also describes a growth-mindset culture. Practise planning before you code, testing what you wrote, and telling stories that end with what you learned. Questions vary by team.

Rehearse it with Prep Me

First interview and five rehearsals free. Updated 2026-11-27

Are you ready for this one?

Tick what is true today. Be honest; it is only for you.

0

Practice questions for a software engineer interview

Open a question to see what sits behind it and how a strong answer is built. The words have to be yours.

A coding exercise: check whether a linked list contains a cycle.
What they are really asking
Whether you plan before writing and produce clean code in a real language.
The shape of a strong answer
Ask what the list can contain. Explain your plan in two sentences, write it, then state the cost in time and memory.
Now test it. What cases would you run?
What they are really asking
Whether testing is part of how you work or an afterthought.
The shape of a strong answer
Name the empty list, a single node, a cycle at the start and a cycle at the end. Walk one of them through your code aloud.
Design a service that keeps files in sync across a person’s devices.
What they are really asking
Whether you can design something new and reason about failure, growth and conflicting changes.
The shape of a strong answer
Ask about file sizes and how many devices. Outline the parts, then discuss what happens when two devices change the same file while offline.
How would you add a new capability to a large system that already exists?
What they are really asking
Whether you respect what is already there and can work within it.
The shape of a strong answer
Say how you would learn the current design, where the change belongs, how you would limit the risk, and how you would roll it out.
Tell me about a time you were wrong about a technical choice.
What they are really asking
Whether you learn from mistakes without becoming defensive.
The shape of a strong answer
Situation, task, action and result, then a final sentence on what you do differently now. Do not skip that last part.
Tell me about a time you had to learn a technology quickly.
What they are really asking
How you pick up new skills and whether you ask for help.
The shape of a strong answer
Say why you needed it, how you went about learning, who you asked, and what you delivered with it.
Tell me about a time you changed your work because of what a customer needed.
What they are really asking
Whether you keep the person using the software in mind.
The shape of a strong answer
Describe what the customer needed, how you found out, what you changed, and the effect.
Tell me about working with another team to get something shipped.
What they are really asking
How you collaborate across boundaries when priorities differ.
The shape of a strong answer
State what each team wanted, how you found common ground, and what shipped.

What Microsoft says about its interviews

Microsoft’s technical interviewing page says the process evaluates problem solving, design, coding and testing. It advises asking clarifying questions and making a plan before you implement, and notes that a round is short, at 45 minutes, so managing time matters. On coding, it asks for clean, concise code in the language you know most thoroughly, not pseudocode. On testing, it says to expect to test your solution before you finish and to point out corner cases. On design, it says interviewers look for engineers who can work with an existing platform as well as build a new system.

The page lists topics to prepare, including algorithms and their complexity, common data structures and when to use each, and system design and distributed systems.

Its interview tips page says the steps vary by role and that your recruiter will explain the format. It says interviewers want to see how you think, that you are not expected to know everything, and that asking questions when stuck is encouraged. It recommends a STAR model with an added R for reflection. It also names what Microsoft looks for in its culture, starting with a growth mindset and including inclusive behaviour, collaboration across the company and customer obsession.

Plan, write, test, in that order

In software engineer interviews in general, the commonest mistake is typing too soon. Spend the first few minutes on questions and a plan. Say the plan aloud, then write. When the code is done, do not announce that you are finished. Walk an example through it, then name the boundaries: empty input, one item, very large input, bad input. Finding your own bug in front of an interviewer counts in your favour.

End each story with what you learned

A story about a mistake is only half told if it stops at the result. Add one sentence on what you took from it and what you do now. Prepare a few such stories: a wrong call, hard feedback, a skill you had to pick up fast. If you do not know something in the interview, say so and describe how you would find out.

Rehearse it aloud first

Prep Me is a Mac app that takes the job posting, your CV and your interviewers’ names, researches the company and each person, and interviews you out loud in their style. Each rehearsal ends with a readiness score out of 100, your pace and pauses measured, and what to fix first. The first interview and five rehearsals are free. Prep Me is not affiliated with Microsoft.

Good to know

Can I write pseudocode in the interview?

Microsoft’s technical interviewing page asks for real code in the language you know well, not pseudocode. Practise writing complete, working solutions.

Are these Microsoft’s real interview questions?

No. They are practice questions of the kind software engineers commonly get. What you are asked depends on the team and the interviewer.

Say it out loud before it counts.

Prep Me researches your interviewers, rehearses with you in their style, and tells you when you are ready.

Get Prep Me for Mac

More like this