Open In App

Microsoft Interview Experience for Software Engineer

On 3rd April 2021, I got a mail that I have been referred by some employee and so they are sending me a test link with a one-day window.

Round 1(1 hr 30 mins): The test was conducted on Mettl platform. There were a total of three questions. Two of them were based on Trie and one from the Segment tree



  1. https://www.geeksforgeeks.org/longest-common-prefix-using-trie/amp/?ref=rp
  2. Given an array and q queries with range L and R. Find the count numbers such that the absolute difference between the highest and lowest (in a range) is less than given k.
  3. Don’t remember.

On 6th April, I got the mail that I have cleared my online test and will be having my interview on 8th.

Round 2(45 mins): My interview started around 12:15 pm. It started with a brief introduction. And then just one coding problem. He asked to open any compiler and share my screen. https://www.geeksforgeeks.org/sum-leaf-nodes-minimum-level/amp/ First I had to explain my approach and then write the complete code. He then gave a few test cases to check my code.



Within five minutes after completion of this round, I got the mail that I’ll be having my round 2 interview from 3:30.

Round 3(1 hr): The interviewer briefly gave his introduction and then started with the ques.

  1. What is the critical section ? Give any example.
  2. What do you mean by race condition ?
  3. How steps you take to solve critical section problem ?
  4. Concept of Virtual memory.
  5. Write and explain code for the Producer Consumer Problem.
  6. Explain approach and then write complete code for  https://www.geeksforgeeks.org/represent-the-fraction-of-two-numbers-in-the-string-format/amp/. With some help from the interviewer, I was able to solve this completely.
  7. Do you have any ques for me?

In the evening I got the mail that I have cleared this round too and they’ll be scheduling my next round on coming Monday.

Round 4 (AA Discussion): (45-50 mins)

Article Tags :