Upload Button Icon Add office photos

Microsoft Corporation

Compare button icon Compare button icon Compare

Filter interviews by

Microsoft Corporation Software Engineer Interview Questions and Answers

Updated 12 Jul 2025

67 Interview questions

🔥 Asked by recruiter 2 times
A Software Engineer was asked 1mo ago
Q. Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands.
Ans. 

Count the number of islands in a 2D binary grid representing land and water.

  • Use Depth-First Search (DFS) or Breadth-First Search (BFS) to explore the grid.

  • An island is formed by connecting adjacent '1's (horizontally or vertically).

  • Example: In the grid [[1,1,0],[0,1,0],[0,0,1]], there are 2 islands.

  • Mark visited land cells to avoid counting them multiple times.

A Software Engineer was asked 1mo ago
Q. How would you approach designing a SaaS application?
Ans. 

Design a SaaS app for project management that enhances team collaboration and productivity.

  • User Authentication: Implement OAuth for secure login (e.g., Google, GitHub).

  • Dashboard: Create a customizable dashboard for users to track project progress.

  • Task Management: Allow users to create, assign, and prioritize tasks with deadlines.

  • Collaboration Tools: Integrate chat and file sharing features for team communication.

  • R...

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Four people need to cross a bridge at night with only one torch t ... read more
asked in Capgemini
Q2. In a dark room, there is a box of 18 white and 5 black gloves. Yo ... read more
Q3. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q4. Puzzle : 100 people are standing in a circle .each one is allowed ... read more
asked in TCS
Q5. Find the Duplicate Number Problem Statement Given an integer arra ... read more
A Software Engineer was asked 7mo ago
Q. Given an array of integers, find two numbers that add up to a specific target. Return the indices of the two numbers.
Ans. 

The variation of the 2-sum problem involves finding pairs in an array that meet specific criteria.

  • Identify the target sum and the array of numbers.

  • Use a hash map to store numbers and their indices for quick lookup.

  • Iterate through the array, checking if the complement (target - current number) exists in the hash map.

  • Example: For array [2, 7, 11, 15] and target 9, the pair (2, 7) sums to 9.

  • Consider edge cases like d...

A Software Engineer was asked 7mo ago
Q. Describe the process of designing a REST API.
Ans. 

Design a REST API for a software engineer interview

  • Define the resources and endpoints

  • Use HTTP methods for CRUD operations (GET, POST, PUT, DELETE)

  • Implement authentication and authorization

  • Use JSON for data exchange format

  • Include error handling and status codes

What people are saying about Microsoft Corporation

View All
an operations manager
15h
Trump wants Google, Microsoft to stop hiring in India?
Trump is pushing tech giants like Google and Microsoft to freeze hiring in India and focus on employing American workers first.
Got a question about Microsoft Corporation?
Ask anonymously on communities.
A Software Engineer was asked 7mo ago
Q. There is a field of length L and there are N cows. You are given the positions of the cows along the field. You need to place the cows in such a way that the minimum distance between any two cows is maximiz...
Ans. 

Use binary search to find the minimum distance to escape aggressive cows in a field.

  • Implement a function to check if cows can be placed with a minimum distance in a field.

  • Use binary search to find the minimum distance that satisfies the condition.

  • Keep track of the maximum distance found so far while performing binary search.

A Software Engineer was asked 7mo ago
Q. Design a system like YouTube.
Ans. 

Designing a video-sharing platform like YouTube involves user management, video storage, streaming, and recommendation systems.

  • User Management: Implement user registration, authentication, and profiles. Example: Users can create channels and subscribe to others.

  • Video Uploading: Allow users to upload videos with metadata (title, description, tags). Example: Users can upload videos in various formats.

  • Video Storage: ...

Microsoft Corporation HR Interview Questions

122 questions and answers

Q. What does culture fit mean to you at Microsoft?
Q. Which literary character do you most closely relate to, and what are the reasons ... read more
Q. What were your reasons for leaving your previous company?
A Software Engineer was asked 7mo ago
Q. Design a system like Uber Eats.
Ans. 

Design a scalable food delivery system like Uber Eats, focusing on user experience, logistics, and technology integration.

  • User Interface: Create intuitive mobile and web apps for customers, restaurants, and delivery personnel.

  • Order Management: Implement a system to handle order placement, tracking, and notifications in real-time.

  • Geolocation Services: Use GPS for accurate location tracking of users and delivery per...

Are these interview questions helpful?
A Software Engineer was asked 9mo ago
Q. Design the Low-Level Design (LLD) of a system to find the top K most frequently purchased items in an Amazon/Flipkart sale.
Ans. 

Design a system to find top K frequently purchased items in a sale on e-commerce platforms like Amazon or Flipkart.

  • Use a data structure like a hashmap to store item frequencies

  • Implement a priority queue to keep track of top K items based on frequency

  • Update the priority queue whenever a new item is purchased

  • Consider using a heap data structure for efficient retrieval of top K items

A Software Engineer was asked 9mo ago
Q. Design a phone book using a Trie data structure.
Ans. 

Phone book design using Trie data structure

  • Implement Trie data structure to store phone numbers

  • Each node in the Trie represents a digit in the phone number

  • Use Trie to efficiently search for phone numbers based on prefixes

A Software Engineer was asked 9mo ago
Q. Given a string, find the length of the longest substring without repeating characters.
Ans. 

LeetCode is a platform for practicing coding skills through algorithm challenges and preparing for technical interviews.

  • Wide range of problems: Covers algorithms, data structures, and system design. Example: Two Sum problem.

  • Difficulty levels: Problems are categorized into Easy, Medium, and Hard. Example: Easy - Reverse String.

  • Mock interviews: Offers a feature to simulate real interview conditions with timed challe...

Microsoft Corporation Software Engineer Interview Experiences

68 interviews found

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Jun 2025, where I was asked the following questions.

  • Q1. DS and Algo and previous work
  • Q2. System design low and high
  • Q3. Culture fit for Microsoft
  • Ans. 

    Microsoft values collaboration, innovation, and diversity, fostering an inclusive environment for all employees.

    • Emphasize teamwork: Share experiences where you collaborated effectively with others to achieve a common goal.

    • Show adaptability: Discuss how you've embraced change in past projects, demonstrating flexibility in your approach.

    • Highlight diversity: Provide examples of how you've contributed to or benefited from ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Avoid joining the Dynamics 365 product line if you have offers from tier 2/tier 1 companies, as the technology stack is subpar and growth opportunities are very limited, resulting in little to no salary increase. Conversely, if you have the opportunity to join teams like Azure or Xbox, you should pursue that option.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
No response

I appeared for an interview in Nov 2024.

Round 1 - Coding Test 

It was codility test with 2 questions

Round 2 - One-on-one 

(1 Question)

  • Q1. One codility question
Round 3 - One-on-one 

(1 Question)

  • Q1. Design system like uber eats
  • Ans. 

    Design a scalable food delivery system like Uber Eats, focusing on user experience, logistics, and technology integration.

    • User Interface: Create intuitive mobile and web apps for customers, restaurants, and delivery personnel.

    • Order Management: Implement a system to handle order placement, tracking, and notifications in real-time.

    • Geolocation Services: Use GPS for accurate location tracking of users and delivery personne...

  • Answered by AI
Round 4 - One-on-one 

(1 Question)

  • Q1. Design system like youtube
  • Ans. 

    Designing a video-sharing platform like YouTube involves user management, video storage, streaming, and recommendation systems.

    • User Management: Implement user registration, authentication, and profiles. Example: Users can create channels and subscribe to others.

    • Video Uploading: Allow users to upload videos with metadata (title, description, tags). Example: Users can upload videos in various formats.

    • Video Storage: Use c...

  • Answered by AI

Software Engineer Interview Questions & Answers

user image Aman Agarwal

posted on 12 Jul 2025

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Jun 2025, where I was asked the following questions.

  • Q1. Rain water trapping
  • Q2. HLD book my show
  • Ans. 

    Design a scalable application for booking movies, events, and shows with user-friendly features and efficient backend services.

    • User Registration: Users can create accounts using email or social media.

    • Event Listings: Display movies and events with details like time, location, and pricing.

    • Seat Selection: Interactive seat map for users to choose their preferred seats.

    • Payment Gateway: Integration with payment services like...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Aug 2024. There were 5 interview rounds.

Round 1 - Aptitude Test 

In Atitude can be text over general knowledge

Round 2 - Group Discussion 

They can be seen over performance , and communication skills

Round 3 - Coding Test 

They can be seen over problem solving skills

Round 4 - Technical 

(2 Questions)

  • Q1. Which language ur perfect
  • Q2. Solve the problem in the default situation
  • Ans. 

    To solve a problem effectively, identify the issue, analyze options, and implement a solution with testing.

    • Define the problem clearly. Example: 'The application crashes on startup.'

    • Gather data and analyze the root cause. Example: 'Check logs for error messages.'

    • Brainstorm potential solutions. Example: 'Update dependencies or fix code bugs.'

    • Implement the chosen solution and test thoroughly. Example: 'Run unit tests and ...

  • Answered by AI
Round 5 - HR 

(2 Questions)

  • Q1. Why I should be appointe you
  • Q2. What is ur strength and weakness
  • Ans. 

    Strength: Strong problem-solving skills. Weakness: Difficulty delegating tasks.

    • Strength: Able to quickly identify and solve complex problems.

    • Strength: Strong analytical skills to break down problems into manageable parts.

    • Weakness: Struggle with delegating tasks to others, preferring to handle everything myself.

    • Weakness: Working on improving communication to effectively delegate tasks.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - I experienced a lot ,I can now how to be perfor
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
-
Result
No response

I appeared for an interview in Jun 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. Variation of aggressive cows problem (requires binary search)
  • Q2. Variation of 2 sum problem
Round 2 - One-on-one 

(2 Questions)

  • Q1. Was told that this round would be an LLD. But it felt more like HLD or technical HM round Questions: grilled on microservice vs monolith architectures, how to migrate to microservice, when to migrate to mi...
  • Q2. Design a rest API
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed in Apr 2024. There were 4 interview rounds.

Round 1 - Coding Test 

Easy to medium on codility

Round 2 - One-on-one 

(2 Questions)

  • Q1. Basic recursion(tower of hanoi)
  • Q2. 2 other simple questions based on Tree and prime numbers
Round 3 - One-on-one 

(2 Questions)

  • Q1. Design LLD of a top K frequently purchased items in a amazon/flipkart sale
  • Q2. Design phone book(Trie)
Round 4 - One-on-one 

(1 Question)

  • Q1. DP question based on Tree

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Easy
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Walk-in and was interviewed in May 2024. There were 4 interview rounds.

Round 1 - Coding Test 

Its easy nd medium ,its good to experience for interview

Round 2 - HR 

(2 Questions)

  • Q1. 1. Tell me about yourself
  • Q2. 2 what is your weekness
Round 3 - Technical 

(3 Questions)

  • Q1. What is array?nd types?
  • Q2. What is operator nd there function?
  • Q3. What is algorithm? How to use?
  • Ans. 

    An algorithm is a step-by-step procedure for solving a problem or accomplishing a task.

    • An algorithm is a set of instructions that specifies a sequence of operations to be performed.

    • Algorithms can be used to solve mathematical problems, data processing tasks, and more.

    • Examples of algorithms include sorting algorithms like bubble sort and searching algorithms like binary search.

  • Answered by AI
Round 4 - Assignment 

Its gonna be easy to solve that problem?

Interview Preparation Tips

Interview preparation tips for other job seekers - Good nd better

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Process the given string
  • Ans. 

    The task involves processing a string to extract or manipulate its content based on specific requirements.

    • Identify the type of processing needed (e.g., parsing, formatting).

    • Use string methods like split(), join(), or replace() for manipulation.

    • Consider edge cases, such as empty strings or special characters.

    • Example: To reverse a string, use slicing: str[::-1].

    • Example: To count occurrences of a character, use str.count(...

  • Answered by AI
  • Q2. Sort the array in alternates

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

DP AND GRAPH related questions they asked

Round 2 - Technical 

(2 Questions)

  • Q1. First they started with intro
  • Q2. One dp question and then os
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-

I applied via Job Portal

Round 1 - Technical 

(2 Questions)

  • Q1. String leetcode
  • Q2. Dynamic programming leetcode

Interview Preparation Tips

Interview preparation tips for other job seekers - Do leetcode medium

Microsoft Corporation Interview FAQs

How many rounds are there in Microsoft Corporation Software Engineer interview?
Microsoft Corporation interview process usually has 2-3 rounds. The most common rounds in the Microsoft Corporation interview process are Coding Test, Technical and One-on-one Round.
How to prepare for Microsoft Corporation Software Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Microsoft Corporation. The most common topics and skills that interviewers at Microsoft Corporation expect are microsoft, C++, Computer science, Coding and Debugging.
What are the top questions asked in Microsoft Corporation Software Engineer interview?

Some of the top questions asked at the Microsoft Corporation Software Engineer interview -

  1. You have a cuboid (m*n*p) each block of the cuboid is having a metallic ball. ...read more
  2. Testing whether every left child's value is less than the right child's value i...read more
  3. On circular queue and finding the last number which is highest and contains s...read more
How long is the Microsoft Corporation Software Engineer interview process?

The duration of Microsoft Corporation Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

4.4/5

based on 52 interview experiences

Difficulty level

Easy 19%
Moderate 75%
Hard 6%

Duration

Less than 2 weeks 65%
2-4 weeks 16%
4-6 weeks 19%
View more
Microsoft Corporation Software Engineer Salary
based on 2.5k salaries
₹24.8 L/yr - ₹44 L/yr
263% more than the average Software Engineer Salary in India
View more details

Microsoft Corporation Software Engineer Reviews and Ratings

based on 147 reviews

4.3/5

Rating in categories

3.7

Skill development

4.3

Work-life balance

3.7

Salary

3.9

Job security

4.3

Company culture

3.4

Promotions

3.7

Work satisfaction

Explore 147 Reviews and Ratings
Software Engineer
2.5k salaries
unlock blur

₹24.8 L/yr - ₹44 L/yr

Senior Software Engineer
1.5k salaries
unlock blur

₹28.4 L/yr - ₹75.9 L/yr

Software Engineer2
1.2k salaries
unlock blur

₹33 L/yr - ₹60 L/yr

Software Developer
1.1k salaries
unlock blur

₹24.9 L/yr - ₹45.7 L/yr

Consultant
600 salaries
unlock blur

₹19.8 L/yr - ₹34 L/yr

Explore more salaries
Compare Microsoft Corporation with

Google

4.3
Compare

Amazon

4.0
Compare

Deloitte

3.7
Compare

TCS

3.6
Compare
write
Share an Interview