Follow us on Facebook and get an exclusive discount!

Follow us

Microsoft Software Engineer Interview Questions 2026

Last updated: November 10, 2026|6 min read|By Alexandra Moore
Microsoft Software Engineer Interview Questions 2026

Microsoft made an offer to one candidate with two years of experience, for the Azure team in Redmond. While he prepared, what helped him most were other people's interview stories on LeetCode and the questions tagged with the company's name. This is what happened to him.

He wrote to several hiring managers through InMail on LinkedIn (and yes, he paid for a premium subscription for his job search). He didn't hear any response from Microsoft for about a month and a half. Then one ordinary day, he received an email from a recruiter saying that they wanted to interview him for a role at the SDE-2 level. A month earlier he had applied for that job's ID and contacted the hiring manager for it on LinkedIn.

Round 1: Technical phone screen

The interviewer first asked him about his current job and what he does in it. Then came the code questions:

  1. Move all the zeros to the front of the array. It's similar to Move Zeroes, but it's not exactly the same. He started with a brute force solution in O(n^2), and then improved it to O(n).
  2. Meeting Rooms II. Here he went straight to the optimized solution.
  3. You have a list of words that have the same meaning and two sentences, and you want to know whether the two sentences are equal or not. The complete solution was obtained using union find (a disjoint set). Writing the whole program wasn't needed; only the union find piece.

In each question they talked about time and space complexity.

Second round (virtual)

The interviewer asked him pointed questions about his resume. Some he answered well, and some tripped him up. For coding, he had to write two functions on an array, one to insert and one to delete, and then expand the question to a circular array. The catch was seeing in advance that the application might be multi-threaded and that two different threads can use 2 functions at the same time (RACE CONDITION!!!).

Ready to ace your next interview?

InterviewMan gives you real-time AI answers during live interviews — undetectable on Zoom, Meet, and Teams.

Try InterviewMan Free

He did not think of this on his own. But when the interviewer asked, “What if the application is multi-threaded?”, he quickly explained what could be wrong and how it could be solved. He did not fully finish the 2 functions, because the interviewer kept changing what was required and he wasn't quite sure what he should do with some of those changes.

All these rounds took place over video call. Here InterviewMan, used by more than 570,000 people, hears the question and shows you the answer on the screen while you speak, and there is also a page on interviews over Microsoft Teams.

Third round (virtual)

A few more questions on the resume, then questions on the code:

  1. Valid Palindrome II: Check whether a word can be a palindrome after removing just one letter. He presented an optimized method, wrote the full code and traced it by hand. He also offered test cases, and they talked about time and space complexity.
  2. Number of Islands. He solved it with BFS and explained why he picked BFS over DFS: it is easier to read and follow if someone comes back to it later. He wrote all the code, walked through it by hand, listed test cases, and they went over complexity in time and space.

Fourth round (virtual)

The interviewer asked him a few questions about multiprocessing and multithreading, and then they moved on to the code:

  1. Populating Next Right Pointers, on a binary tree. Again he explained why he would pick BFS (a level order traversal with a queue) instead of DFS. He covered the complexity in space and time and came up with solid test cases to check the solution.
  2. Then Number of Islands came up a second time. The candidate pointed out he had already done it in the interview before. So instead the interviewer asked Add Two Numbers, which is the addition of two numbers stored in linked lists.

Fifth round: the “as appropriate” interview

This was the round Microsoft calls “as appropriate”. The interviewer gave him a Hard question. To this day he has not found it on LeetCode, and he can't even explain it. It was very hard, and he did not manage to solve it. He offered a brute force approach, wrote some code and went over it with the interviewer. After that the interviewer helped him, and together they reached a partial solution.

Two days after the interviews, the hiring manager called and told him which role he would be hired for (SDE 1). A few weeks later an offer arrived.

Behavioral questions

You will get them in every interview. Familiarize yourself with the company's principles and prepare examples from university or your work to show that you have followed them in the past. Always answer these questions using the STAR method. If you want to practice out loud, there is a mock interview that you can do at any time.

What Microsoft itself says

Microsoft's career pages have advice that matches this story:

  • Language: Write code only in the language you are good at, and no pseudocode.
  • Time: A round is only 45 minutes, so you need to manage your time.
  • Topics: arrays and strings, stacks and queues, linked lists, trees and tries, hashmaps and hashsets, graphs, and at least one sort with n*log(n). You must explain the complexity of the algorithm (big O).
  • Before you code: Ask about anything that is unclear and make a plan before you write.
  • After the solution: Try the code and explain the corner cases yourself.
  • System Design: distributed systems, SOA, n-tiered architecture, resiliency, high availability, auto scaling, replication, CAP theorem and partitioning.
  • Behavioral: STAR(R) method, which stands for Situation, Task, Action and Result, and at the end, Reflection. They also say plainly that they don't expect you to know everything.

Sometimes the first screen is an assessment on Codility, and there is a page about what Codility sees.

Download: InterviewMan for Mac, Windows, iPhone, Android and web ($12/mo on the annual plan or $30/mo, with a one-time 20-minute free trial and no card)

Ready to Ace Your Next Interview?

Join 570,000+ professionals using InterviewMan to get real-time AI assistance during their interviews.

Related Articles

Try InterviewMan Free

AI interview assistant. Undetectable.

Get Started