Microsoft SDE-2 Interview Guide

These are coding problems that candidates have reported from Microsoft interviews, ordered so you can start with the ones that come up most. Microsoft interviews lean on clear fundamentals and on how you handle edge cases, so test your solution with small examples before you say you are done.

Treat the list as practice for the patterns, not a script: interviewers change the numbers and the story, and they care more about how you reason out loud than about a memorised answer.

Coding problems

Related

Frequently asked questions

What does a Microsoft SDE-2 loop look like?

Several one-on-one rounds mixing coding, design and behavioral questions, often ending with a conversation with a hiring manager.

Do they ask low-level design?

Often, yes. Expect to model a small system with classes and interfaces, and to explain why you split responsibilities the way you did.