Microsoft interview experience Real time questions & tips from candidates to crack your interview

SE 2

Microsoft
upvote
share-icon
5 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I decided to step out of my comfort zone and dive into a completely new domain in early 2025. I spent about eight months working through system design concepts to level up my skills. Along the way, I faced my fair share of rejections from different companies. It was frustrating at times, but every “no” pushed me to refine my preparation. All that studying finally paid off when I interviewed with Microsoft. I cracked it on my very first attempt and landed an L61 role!
Application story
Applied on a Saturday afternoon through the Microsoft careers portal after editing my resume. I received a scheduling call on Monday, with interviews scheduled for the next day. I was advised to complete the online assessment the same night. There were two interviews scheduled in the morning, with a third interview scheduled the same afternoon after positive feedback. By 6 PM, my HM round was scheduled for the following week.
Why selected/rejected for the role?
My experience working in the core OS framework worked in my favour when I applied for the Windows Core job ID. In addition, I had experience working with different design patterns, which helped me stay calm during the actual interview.
Preparation
Duration: 8 months
Topics: LLD, HLD, Design Patterns, DSA, Computer Fundamentals (OS, CN, DBMS), C++, Java
Tip
Tip

Tip 1: For DSA, while preparing different topics, make sure the questions you solve are from random topics. If you can’t solve a problem within 4 hours, revisit the concept.

Tip 2: For LLD, learning design patterns should take a maximum of 30 days. Solving problems will help more for your interview.

Application process
Where: Company Website
Eligibility: 2+ years of experience in C++ and system design (Salary Package: 26 LPA)
Resume Tip
Resume tip

Tip 1: Don’t include incorrect information on your resume; the interviewer will ask about it in depth.

Tip 2: A 70% ATS score is enough; there is no need to aim for a higher score.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes to 120 minutes
Interview date22 Dec 2025
Coding problem2

This was an online assessment round in which coding questions were asked.

1. Absolutely Minimum

Easy
10m average time
80% success
0/40
Asked in company
Microsoft

Given two integers, ‘A’ and ‘B', you can perform the following operation any number of times (possibly zero).

Change the value of ‘A’ with the absolute difference between ‘A’ and ‘B'.

Your task is to find the minimum value of ‘A’ achieved using the above operation zero or more times.

Example :
‘A’ = 16, ‘B’ = 6
Here the minimum possible value of ‘A’ is 2. 
We can perform the operation in the following order:
‘A’ = |16 - 6| = 10
‘A’ = |10 - 6| = 4
‘A’ = |4 - 6| = 2.
So, the answer is 2.
Here |x - y| denotes the absolute difference between x and y.
Try solving now

2. Minimum Spanning Tree

Moderate
34m average time
0/80
Asked in companies
AmazonWells FargoMicrosoft

You are given an undirected, connected and weighted graph G(V, E), consisting of V number of vertices (numbered from 0 to V-1) and E number of edges.

Find and print the total weight of the Minimum Spanning Tree (MST) using Kruskal's algorithm.

By definition, a minimum weight spanning tree is a subset of the edges of a connected, edge-weighted undirected graph that connects all the vertices together, without any cycles and with the minimum possible total edge weight.

Try solving now
02
Round
Medium
Online Coding Test
Duration60 minutes
Interview date23 Dec 2025
Coding problem2

DSA Round: After a 2-minute introduction, the interviewer presented a PnC question, which I solved in 20 minutes. There were some follow-up questions for 5 minutes.

The next question was similar to the Rotten Oranges problem. Since I was familiar with it, I solved it in 15 minutes as well. The interviewer asked follow-up questions for another 5 minutes.

1. Keypad Combinations

What is the number of combinations for four key presses on an analog number pad?

2. Rotting Oranges

Moderate
20m average time
78% success
0/80
Asked in companies
IBMSliceSamsung R&D Institute

You have been given a grid containing some oranges. Each cell of this grid has one of the three integers values:

  • Value 0 - representing an empty cell.
  • Value 1 - representing a fresh orange.
  • Value 2 - representing a rotten orange.
  • Every second, any fresh orange that is adjacent(4-directionally) to a rotten orange becomes rotten.

    Your task is to find out the minimum time after which no cell has a fresh orange. If it's impossible to rot all the fresh oranges then print -1.

    Note:
    1. The grid has 0-based indexing.
    2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.
    
    Try solving now
    03
    Round
    Hard
    Online Coding Test
    Duration60 minutes
    Interview date23 Dec 2025
    Coding problem1

    LLD Round: This was scheduled one hour after the first one. There was some confusion with the scheduling timetable, but eventually everything was cleared, and the interview started on time.

    1. DNS Caching

    Design DNS cache optimization. I had to discuss the complete environment regarding the cache (requirements, conditions, etc.) before designing it.

    04
    Round
    Hard
    Online Coding Test
    Duration60 minutes
    Interview date23 Dec 2025
    Coding problem1

    LLD Round: This was scheduled after positive feedback from both of the previous interviews. I was asked for any available slots, and since I was free that day, the interview was scheduled three hours after the second one.

    1. Project Dashboard

    Design a HackerRank dashboard, where a student can submit only one project, multiple judges can create and edit their scores for the projects any number of times, and a leaderboard displays the project with the highest average score.

    05
    Round
    Medium
    Online Coding Test
    Duration60 minutes
    Interview date30 Dec 2025
    Coding problem0

    This was the HM round. He spent the first half going through my resume and my past experiences. After that, he asked me to create a synchronized lock with different threads and perform operations on them.

    Here's your problem of the day

    Solving this problem will increase your chance to get selected in this company

    Skill covered: Programming

    What does the SQL function NOW() return?

    Choose another skill to practice
    Similar interview experiences
    company logo
    SDE - 1
    5 rounds | 15 problems
    Interviewed by Microsoft
    4199 views
    0 comments
    0 upvotes
    company logo
    SDE - 1
    5 rounds | 7 problems
    Interviewed by Microsoft
    2780 views
    0 comments
    0 upvotes
    company logo
    SDE - 2
    5 rounds | 7 problems
    Interviewed by Microsoft
    1729 views
    0 comments
    0 upvotes
    company logo
    SDE - Intern
    2 rounds | 4 problems
    Interviewed by Microsoft
    696 views
    0 comments
    0 upvotes