Upload Button Icon Add office photos

Microsoft Corporation

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Microsoft Corporation Software Engineer Interview Questions, Process, and Tips

Updated 21 Jan 2025

Top Microsoft Corporation Software Engineer Interview Questions and Answers

  • Q1. You have a cuboid (m*n*p) each block of the cuboid is having a metallic ball. Now we are passing X-ray from front face and getting a bool matrix1 of m*p the elements are ...read more
  • Q2. Word Wrap Problem Statement You are tasked with arranging 'N' words of varying lengths such that each line contains at most 'M' characters, with each word separated by a ...read more
  • Q3. Distinct Islands Problem Statement Given a two-dimensional array/list consisting of integers 0s and 1s, where 1 represents land and 0 represents water, determine the num ...read more
View all 57 questions

Microsoft Corporation Software Engineer Interview Experiences

65 interviews found

Interview Questionnaire 

1 Question

  • Q1. Why important in learning programming languages.
  • Ans. 

    Learning programming languages is important for software engineers to effectively communicate with computers and develop software solutions.

    • Programming languages are the foundation of software development.

    • Learning multiple languages expands the range of problems a software engineer can solve.

    • Different languages have different strengths and are suited for different tasks.

    • Knowing multiple languages improves adaptability ...

  • Answered by AI

I was interviewed before Sep 2020.

Round 1 - Face to Face 

(1 Question)

Round duration - 50 minutes
Round difficulty - Easy

This was a Data Structural round.

  • Q1. 

    Distinct Islands Problem Statement

    Given a two-dimensional array/list consisting of integers 0s and 1s, where 1 represents land and 0 represents water, determine the number of distinct islands. A group of...

  • Ans. 

    Count the number of distinct islands in a 2D array of 0s and 1s.

    • Identify islands by performing depth-first search (DFS) on the grid

    • Use a set to store the shape of each island and check for duplicates

    • Consider translations to determine distinct islands

  • Answered by AI
Round 2 - Face to Face 

(1 Question)

Round duration - 50 minutes
Round difficulty - Easy

This was a Data Structural round.

  • Q1. 

    Word Wrap Problem Statement

    You are tasked with arranging 'N' words of varying lengths such that each line contains at most 'M' characters, with each word separated by a space. The challenge is to minimiz...

  • Ans. 

    The goal is to minimize the total cost of arranging 'N' words on each line with a maximum character limit 'M'.

    • Calculate the cost of each line as the cube of extra space characters needed to reach 'M'.

    • Minimize the total cost by arranging words to fit within the character limit on each line.

    • Ensure each word appears fully on one line without breaking across lines.

  • Answered by AI
Round 3 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

This was a System Design round.

  • Q1. Can you design a system similar to Red Bus that can handle bookings and onboard both vendors and customers to the platform?
  • Ans. 

    Design a system similar to Red Bus for handling bookings and onboarding vendors and customers.

    • Implement a user-friendly interface for customers to search and book tickets

    • Create a vendor portal for vendors to manage their offerings and availability

    • Include payment gateway integration for secure transactions

    • Develop a robust backend system for managing bookings, cancellations, and refunds

    • Utilize a database to store user in

  • Answered by AI
Round 4 - Face to Face 

Round duration - 50 minutes
Round difficulty - Easy

This was a System Design round

Round 5 - Face to Face 

Round duration - 50 minutes
Round difficulty - Easy

This was an HR round.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Indian Institute of Technology Roorkee. Microsoft interview preparation:Topics to prepare for the interview - Graphs, Dynamic Programming, Arrays, LinkedList, stringsTime required to prepare for the interview - 1 monthInterview preparation tips for other job seekers

Tip 1 : Practice as much as you can.
Tip 2 : Prepare for company, not in general.
Tip 3 : Your past work should be objective and your contribution should be very clear

Application resume tips for other job seekers

Tip 1 : Keep only relevant things for the job you are applying.
Tip 2 : Minimal data with measurable contribution and effect.

Final outcome of the interviewSelected

Skills evaluated in this interview

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Bridge and torch problem : Four people come to a river in the nig ... read more
asked in Capgemini
Q2. In a dark room,there is a box of 18 white and 5 black gloves. You ... read more
asked in TCS
Q3. Find the Duplicate Number Problem Statement Given an integer arra ... read more
Q4. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q5. Puzzle : 100 people are standing in a circle .each one is allowed ... read more

I applied via Campus Placement

Interview Preparation Tips

Round: Test
Experience: Questions on linked list, basic logic and an adhoc math problem. Questions were very doable, but time maybe the only constraint
Tips: Manage time, get used to fluently coding in C Java or C++. You wont have access to Internet, man pages during contest so practice coding g without them.
Duration: 3 minutes
Total Questions: 75

Skills:
Duration: 2
College Name: IIT Madras

Software Engineer Interview Questions & Answers

user image Sharmili Murthy

posted on 2 Dec 2016

I applied via Campus Placement and was interviewed in Jan 2016. There were 5 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Finding a loop in a directed graph, find the last element in a binary tree
  • Ans. 

    To find a loop in a directed graph, use Floyd's cycle-finding algorithm. To find the last element in a binary tree, traverse the tree and return the rightmost leaf node.

    • For finding a loop in a directed graph, use Floyd's cycle-finding algorithm which uses two pointers moving at different speeds.

    • To find the last element in a binary tree, traverse the tree recursively or iteratively and return the rightmost leaf node.

  • Answered by AI
  • Q2. On circular queue and finding the last number which is highest and contains same number. Of digits a the given numbber
  • Ans. 

    The question is about finding the last number in a circular queue that has the highest number of digits.

    • Implement a circular queue data structure

    • Iterate through the circular queue to find the last number with the highest number of digits

    • Compare the number of digits of each number in the circular queue

    • Keep track of the last number with the highest number of digits

  • Answered by AI
  • Q3. Tell me your passions and what. Is the one thing I want to know about you

Interview Preparation Tips

Round: Test
Experience: Coding round based on logic was given
Tips: Practice coding
Duration: 2 hours
Total Questions: 3

College Name: IIT Madras

Skills evaluated in this interview

Microsoft Corporation interview questions for designations

 Senior Software Engineer

 (28)

 Software Development Engineer

 (11)

 Software Engineer Intern

 (5)

 Software Engineer II

 (2)

 Associate Software Engineer

 (2)

 Principal Software Engineer

 (2)

 Software Development Engineer II

 (6)

 Senior Software Engineer 2

 (2)

I applied via Campus Placement and was interviewed in Dec 2016. There was 1 interview round.

Interview Questionnaire 

3 Questions

  • Q1. Binary tree question. Check if left child is less than right child. Recursive and iterative implementation
  • Ans. 

    Check if left child is less than right child in a binary tree

    • Traverse the tree recursively and compare left and right child values

    • Use a stack to traverse the tree iteratively and compare left and right child values

    • Return true if all left children are less than right children, else false

  • Answered by AI
  • Q2. Check if a string is a substring in another string. Discussed speed (not time complexity). not neccessarily always correct but fast
  • Ans. 

    Use built-in string method to check substring presence for faster execution.

    • Use 'indexOf' method to check if substring is present in the main string.

    • If the method returns -1, the substring is not present.

    • If the method returns a non-negative integer, the substring is present.

  • Answered by AI
  • Q3. Maze question. write code on paper in 5 mins. automatically check if function is correct (not testcases)

Interview Preparation Tips

Round: Technical Interview
Tips: Practice writing code on paper

College Name: IIT Madras

Get interview-ready with Top Microsoft Corporation Interview Questions

Software Engineer Interview Questions & Answers

user image Srinidhi Prabhu

posted on 21 Aug 2016

I applied via Campus Placement

Interview Preparation Tips

Round: Test
Experience: A bit challenging but interesting.
Tips: 1) Solve as many problems as possible on the website "InterviewBit".
Duration: 75 minutes
Total Questions: 3

General Tips: Don't
Skill Tips: Need to have the ability to code on paper. This needs practice

Skills:
Duration: 2 months
College Name: IIT Madras
Motivation: An exciting company to work at.

Software Engineer Interview Questions & Answers

user image Sachin Sridhar

posted on 21 Aug 2016

I applied via Campus Placement

Interview Questionnaire 

6 Questions

  • Q1. Testing whether every left child's value is less than the right child's value in a binary tree
  • Ans. 

    To test if every left child's value is less than the right child's value in a binary tree.

    • Traverse the binary tree using any traversal algorithm (e.g., in-order, pre-order, post-order)

    • Compare the value of each left child with its right child

    • If any left child's value is greater than or equal to its right child's value, return false

    • If all left child's values are less than their right child's values, return true

  • Answered by AI
  • Q2. Cloning a linked list-like structure
  • Ans. 

    Cloning a linked list-like structure

    • Create a new node for each node in the original linked list

    • Set the value of the new node to the value of the corresponding node in the original linked list

    • Set the next pointer of the new node to the new node corresponding to the next node in the original linked list

    • Repeat the above steps until all nodes in the original linked list are cloned

  • Answered by AI
  • Q3. Finding the nth character in a stream of bytes
  • Ans. 

    To find the nth character in a stream of bytes, we need to read the stream byte by byte until we reach the nth position.

    • Start reading the stream byte by byte until you reach the nth position

    • Return the byte at the nth position

    • If the stream ends before reaching the nth position, return null or throw an exception

  • Answered by AI
  • Q4. Rearranging a string so no consecutive characters are the same
  • Ans. 

    Rearrange a string to avoid consecutive same characters.

    • Iterate through the string and keep track of the previous character.

    • If the current character is the same as the previous, swap it with the next different character.

    • Repeat until no consecutive same characters are left.

  • Answered by AI
  • Q5. Finding the next highest palindrome
  • Ans. 

    The task is to find the next highest palindrome number given a number.

    • Convert the given number to a string

    • Check if the number is already a palindrome

    • If not, increment the number by 1 and check if it is a palindrome

    • Repeat the previous step until a palindrome is found

  • Answered by AI
  • Q6. To canonicalize a directory path
  • Ans. 

    Canonicalizing a directory path involves simplifying and standardizing the path to remove any redundant or unnecessary elements.

    • Remove any consecutive slashes and replace them with a single slash

    • Remove any trailing slashes

    • Resolve any relative paths (e.g., '..' and '.')

    • Handle special cases like the root directory ('/')

    • Normalize the path by removing any unnecessary elements

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: The test started an hour late, which could have been avoided with some better planning. The test experience was pretty good for me since I am used to using HackerRank's online platform for competitive coding.
Tips: Maybe a little sample session before the actual test would help.
Duration: 75 minutes

Round: Technical Interview
Experience: I enjoyed the interview experience; the panel was friendly and encouraging.

General Tips: Nice interview, questions were well thought out.
Skills: Algorithms And Data Structures
Duration: 2
College Name: IIT Madras
Motivation: What interests me about Microsoft is the nature and the scale of the work they're doing. Every day they impact billions of people worldwide, and I would love to be a part of this organization.

Skills evaluated in this interview

Software Engineer Interview Questions & Answers

user image Girish Raguvir J

posted on 21 Aug 2016

I applied via Campus Placement

Interview Questionnaire 

1 Question

  • Q1. Algorithmic Coding, Testing, Databases & other CS Concepts

Interview Preparation Tips

Round: Test
Experience: Decent knowledge of coding was needed.Speed was of essence.
Tips: Practice coding and be quick.
Duration: 75 minutes
Total Questions: 3

Round: Technical Interview
Experience: I had 3 technical interviews.The interviewers were very friendly.It involved writing paper on code which required me to be very precise and error free.
Tips: Practice coding.Practice writing code on paper and thinking out loud.

General Tips: Prepare well and be confident.
Skills: Unit Testing, Implementation Of Code Using OOPS, Database, Algorithms And Data Structures
Duration: 2
College Name: IIT Madras
Motivation: Microsoft.The company speaks

Software Engineer Interview Questions & Answers

user image Hardik Suthar

posted on 2 Dec 2016

I applied via Campus Placement and was interviewed in Dec 2016. There were 6 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Coding Questions and Thinking Process Analysis.
  • Q2. Analysis about app performance
  • Ans. 

    App performance analysis involves identifying and resolving bottlenecks to improve user experience.

    • Collect and analyze performance metrics such as response time, CPU usage, memory usage, and network latency.

    • Identify and prioritize bottlenecks based on impact on user experience and frequency of occurrence.

    • Implement optimizations such as caching, code refactoring, and database tuning.

    • Continuously monitor and test perform...

  • Answered by AI
  • Q3. Discussion about the project mentioned in resume.

Interview Preparation Tips

Round: Test
Experience: Two questions were given and we are supposed to write code for the same.
Tips: Whatever idea is there, just discuss with interviewer.
Duration: 1 hour
Total Questions: 2

Round: Problem Statement
Experience: You have to solve the question for next round.
Tips: Practice coding well.

Round: Technical Interview
Experience: A coding question was given, but much difficult one, they were looking for approach.
Tips: Share your thought Process Clearly.

Round: Case Study Interview
Experience: A full depth project round was there. They asked my role and responsibility.

Round: Technical Interview
Experience: An application was given to you and you have to make it better the way you can.

Skills: Technical Questions, Technical Analysis, Ability To Cope Up With Stress
College Name: IIT Madras

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Data structures

Interview Preparation Tips

Round: Test
Experience: 3 coding questions.
Tips: Prepare data structures well
Duration: 2 hours
Total Questions: 3

Round: Group Discussion
Experience: 2 coding questions on prem and paper.
Tips: Consider all test cases, provide comments on code
Duration: 1 hour 30 minutes

Round: Technical Interview
Experience: Mostly checked problem solving skills, some questions regarding your project, operating systems
Tips: Be confident, try and get the hints provided

College Name: IIT Madras

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.

Microsoft Corporation Software Engineer Interview Process

based on 49 interviews

5 Interview rounds

  • Coding Test Round
  • Technical Round
  • Aptitude Test Round
  • Personal Interview1 Round - 1
  • Personal Interview1 Round - 2
View more
Microsoft Corporation Software Engineer Salary
based on 2k salaries
₹13 L/yr - ₹50 L/yr
280% more than the average Software Engineer Salary in India
View more details

Microsoft Corporation Software Engineer Reviews and Ratings

based on 129 reviews

4.3/5

Rating in categories

3.9

Skill development

4.3

Work-life balance

3.7

Salary

4.0

Job security

4.3

Company culture

3.5

Promotions

3.8

Work satisfaction

Explore 129 Reviews and Ratings
Software Engineer
1.9k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Software Engineer
1.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Engineer2
1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Developer
695 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Consultant
599 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Microsoft Corporation with

Google

4.4
Compare

Amazon

4.1
Compare

Deloitte

3.8
Compare

TCS

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview