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 Interview Questions, Process, and Tips

Updated 8 Mar 2025

Top Microsoft Corporation Interview Questions and Answers

View all 735 questions

Microsoft Corporation Interview Experiences

Popular Designations

557 interviews found

I applied via Recruitment Consultant and was interviewed before May 2020. There were 4 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Give brief introduction about the Microsoft Corporation.
  • Q2. Products owned by the company.
  • Ans. 

    The company owns a range of products.

    • The company produces software for various industries.

    • They also manufacture hardware products.

    • Some of their popular products include XYZ software and ABC hardware.

    • They have a line of consumer electronics as well.

  • Answered by AI
  • Q3. Basic understanding about the networking and hardware?
  • Ans. 

    Networking involves connecting devices to share resources and communicate. Hardware refers to physical components of a computer system.

    • Networking involves protocols, devices, and topologies

    • Hardware includes components like CPU, RAM, and storage devices

    • Networking hardware includes routers, switches, and modems

    • Understanding networking and hardware is essential for troubleshooting and maintaining systems

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - You have to be honest about the knowledge you have.
Even if you don't know any thing, always play smart try to answer in diplomatic way.
Also your answers should be crisp and to the point.
Always do some study about the company, its market presence and products associated with it.
Check the employee reviews about the company, the benefits and facilities it is providing.

Skills evaluated in this interview

Technical Advisor Interview Questions asked at other Companies

Q1. What is the difference between Customer Service and Customer Satisfaction?
View answer (1)

I applied via Monster and was interviewed in Nov 2020. There were 4 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Where do I work?
  • Q2. What is my salary?

Interview Preparation Tips

Interview preparation tips for other job seekers - It was a nice experience. I was happy with the interview. I want to test this review form.

Business Analyst Interview Questions asked at other Companies

Q1. You have 10 boxes of balls (each ball weighing exactly10 gm) with one box with defective balls (each one of the defective balls weigh 9 gm). You are given an electronic weighing machine and only one chance at it. How will you find out which... read more
View answer (9)

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

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 set if there is a black spot.(as we are passing X-ray) and another mat... read more
View answer (1)

Software Engineer Interview Questions asked at other Companies

Q1. Bridge and torch problem : Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge. Person... read more
View answer (205)

I applied via Company Website and was interviewed in Nov 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Basic data science and statistics questions, sql, python, nlp Explain my projects, questions based on that

Interview Preparation Tips

Interview preparation tips for other job seekers - Good

Data Science Analyst Interview Questions asked at other Companies

Q1. How to analyse a problem : Suppose a pizza chain comes to you and tells you that certain of their outlets are performing poorly aftrr the pandemic. Where do you start with the problem and how do you approach
View answer (1)

Microsoft Corporation interview questions for popular designations

 Software Engineer

 (65)

 Software Developer

 (62)

 Senior Software Engineer

 (28)

 Software Developer Intern

 (24)

 Intern

 (20)

 Technical Support Engineer

 (14)

 Software Development Engineer

 (11)

 Data Scientist

 (10)

I appeared for an interview before Sep 2020.

Round 1 - Video Call 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

It was a video call round, that began with a brief introduction of the interviewer followed by mine. Then the interviewer asked me to solve 2 data structure questions in a text editor while sharing my screen. Also, we had a brief discussion of the time complexity of the programs I had written, which I had to optimize to the best time complexity as well.

  • Q1. 

    Spiral Matrix Problem Statement

    You are given a N x M matrix of integers. Your task is to return the spiral path of the matrix elements.

    Input

    The first line contains an integer 'T' which denotes the nu...
  • Ans. 

    The task is to return the spiral path of elements in a given matrix.

    • Iterate through the matrix in a spiral path by keeping track of boundaries.

    • Print elements in the order of top, right, bottom, and left sides of the matrix.

    • Handle cases where the matrix is not a square (N != M) separately.

    • Consider edge cases like single row, single column, and empty matrix.

  • Answered by AI
  • Q2. 

    Sort 0 1 2 Problem Statement

    Given an integer array arr of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.

    Input:

    The first line contains an integer 'T' representing the n...
  • Ans. 

    Sort an array of 0s, 1s, and 2s in linear time complexity.

    • Use three pointers to keep track of the positions of 0s, 1s, and 2s in the array.

    • Iterate through the array and swap elements based on the values encountered.

    • This approach sorts the array in a single scan without using any extra space.

  • Answered by AI
Round 2 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

It was a face-to-face round in the Hyderabad Office at 8 in the morning. This round consisted of various types of questions. It began with a brief description of my interest in technology and a discussion about any major problems I faced working and how I resolved it. Then it continued with various data structure questions, followed by operating system, database, and system design questions. I had majorly worked with the project Jarvis Personal Assistant, so I was asked to design the complete workflow of the project.

  • Q1. 

    Mirror String Problem Statement

    Given a string S containing only uppercase English characters, determine if S is identical to its reflection in the mirror.

    Example:

    Input:
    S = "AMAMA"
    Output:
    YES
    Ex...
  • Ans. 

    Determine if a given string is identical to its reflection in the mirror.

    • Iterate through the string and compare characters from start and end simultaneously.

    • If characters are not equal, return 'NO'.

    • If all characters match, return 'YES'.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from College of Engineering and Technology, Bhubaneswar. I applied for the job as SDE - Intern in HyderabadEligibility criteriaAbove 8 CGPAMicrosoft interview preparation:Topics to prepare for the interview - Data Structure, Algorithms, System Design, Operating System, DBMSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : I would recommend to practice at least 2-3 competitive coding questions daily, to always have hands-on Competitive coding and be prepared for it. Also, you can create a group among your friends and solve together, this will help to maintain the enthusiasm and competitive nature to grow daily in long run.
Tip 2 : I will surely advise to develop and work on some good projects, that really help in understanding the development basics as well as help in maintaining a good resume. Having a good open-source contribution also helps in providing an edge over other students.
Tip 3 : Spare some time in taking up some mock-interviews in websites such as InterviewBit, this helps to rectify the mistakes and build a good experience of the interview. Also, try to interview with as many companies as possible, this will strengthen interview and presentation skills.

Application resume tips for other job seekers

Tip 1 : Don't try to fake anything in the resume as this might lead to a very bad impression in the later rounds, also may lead to disqualification from further openings in the company.
Tip 2 : In this era, try developing and showcasing more projects in the resume instead of online course certificates. Recruiters are looking for actual skill and knowledge which is actually depicted from the projects and this will also lead to keeping a higher stand from other students.

Final outcome of the interviewSelected

Skills evaluated in this interview

Top Microsoft Corporation Software Developer Intern Interview Questions and Answers

Q1. Mean, Median, Mode Calculation You are given an array 'ARR' consisting of 'N' integers. Your task is to calculate the three statistical measures for the given array: Mean - Implement the function mean() to calculate the mean of the array. ... read more
View answer (1)

Software Developer Intern Interview Questions asked at other Companies

Q1. Sum of Maximum and Minimum Elements Problem Statement Given an array ARR of size N, your objective is to determine the sum of the largest and smallest elements within the array. Follow Up: Can you achieve the above task using the least numb... read more
View answer (5)

Get interview-ready with Top Microsoft Corporation Interview Questions

I applied via Recruitment Consultant and was interviewed in Sep 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. SOW they focus more, RIP, specially budgeting related questions.

Interview Preparation Tips

Interview preparation tips for other job seekers - Go through with PMI PMP concepts, brush-up all the budgeting related concepts.

Project Manager Interview Questions asked at other Companies

Q1. What is success & what is failure to you? How do you handle failure? - not much interviewer asks such questions, but I believe these are very important questions, if you want to succeed.
View answer (1)

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Easy

This round was the online coding test conducted on the platform Mettl. The languages allowed were C, C++, Java and Python. There were three questions. One was of graphs (Depth-first search), other was a big integer problem and the third was a string problem.

  • Q1. 

    Graph Coloring Problem Statement

    You are provided with a graph consisting of N vertices, numbered from 1 to N, and M edges. Your task is to color the graph using two colors, Blue and Red, such that no two...

  • Ans. 

    Given a graph with vertices and edges, determine if it can be colored using two colors without adjacent vertices sharing the same color.

    • Check if the graph is bipartite using graph coloring algorithm like BFS or DFS.

    • If the graph is bipartite, return 'Possible' with a valid coloring assignment.

    • If the graph is not bipartite, return 'Impossible'.

  • Answered by AI
  • Q2. 

    String Compression Problem Statement

    Write a program to perform basic string compression. For each character that repeats consecutively more than once, replace the consecutive duplicate occurrences with t...

  • Ans. 

    Write a program to compress a string by replacing consecutive duplicate characters with the character followed by the number of repetitions.

    • Iterate through the string and count consecutive occurrences of each character

    • Append the character and its count to a new string

    • Return the compressed string if it is shorter than the original, else return the original string

    • Handle edge cases like single characters or when compresse

  • Answered by AI
Round 2 - Coding Test 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

This was a pen and paper subjective interview round. You were expected to write full code on paper. Make sure you use proper names for the variables and write comments explaining very clearly what the code does. Also, try writing code in good handwriting which can be understood by the interviewer.

  • Q1. Find the total number of palindromic substrings in a given string.
  • Ans. 

    Count total palindromic substrings in a given string.

    • Iterate through each character in the string and consider it as the center of a palindrome. Expand outwards to find all palindromic substrings.

    • Use dynamic programming to efficiently check if a substring is a palindrome.

    • Consider both odd-length and even-length palindromes.

    • Example: Input 'ababa', output 7 (a, b, a, b, a, aba, aba)

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 45 minutes
Round difficulty - Easy

The interview took place in the morning and the interviewer was very friendly.

  • Q1. 

    Count Inversions Problem Statement

    Let A[0 ... n-1] be an array of n distinct positive integers. An inversion of A is a pair of indices (i, j) such that i < j and A[i] > A[j]. Given an integer array...

  • Ans. 

    Count the number of inversions in an array of distinct positive integers.

    • Use merge sort algorithm to count inversions efficiently.

    • Divide the array into two halves and recursively count inversions in each half.

    • Merge the two sorted halves while counting split inversions.

    • Time complexity can be optimized to O(n log n) using merge sort.

    • Example: For input A = [2, 4, 1, 3, 5], the output should be 3.

  • Answered by AI
  • Q2. 

    Sum Tree Conversion Problem Statement

    Transform a given binary tree into a sum tree where each node is replaced by the sum of its immediate children's values. Leaf nodes should be replaced with 0. Then, p...

  • Ans. 

    Convert a binary tree into a sum tree by replacing each node with the sum of its children's values, and return the preorder traversal.

    • Traverse the tree recursively and replace each node with the sum of its children's values

    • Leaf nodes should be replaced with 0

    • Perform a preorder traversal on the transformed sum tree to get the final result

  • Answered by AI
Round 4 - HR 

Round duration - 30 minutes
Round difficulty - Easy

The HR Interview round was held in the morning and it was right after my technical interview.

Interview Preparation Tips

Professional and academic backgroundI completed Electrical Engineering from Indian Institute of Technology (Indian School of Mines), Dhanbad. I applied for the job as SDE - 1 in HyderabadEligibility criteria7 CGPAMicrosoft interview preparation:Topics to prepare for the interview - Data Structures - Arrays, Strings, Linked List, Trees, Binary Search Tree, Graph, Tries, Fenwick Trees, Segment Trees, Hashmap. Algorithms - Recursion, Ad Hoc, Dynamic Programming, Greedy, Binary Search, Breadth-first search, Depth-first search, Sorting .Time required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Just be confident during interview and if you are stuck in between any question, then ask for a hint from the interviewer. The practice is key for success, so practice hard for Data Structures and Algorithms coding problems on Coding ninjas as it is the best platform for coding. Also you may practice on Geeks For Geeks or any other interview portal. 

Application resume tips for other job seekers

Mention all internships which you have done, as it increases your chances of shortlisting your resume. Also just write that skills which you are pretty confident about.

Final outcome of the interviewSelected

Skills evaluated in this interview

Top Microsoft Corporation Software Developer Interview Questions and Answers

Q1. Buses Origin Problem Statement You have been provided with an array where each element specifies the number of buses that can be boarded at each respective bus stop. Buses will only stop at locations that are multiples of the bus stop they ... read more
View answer (3)

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array = [34, -50, 42, 14, -5, 86] Output: 137 Explanation: The maximum sum is... read more
View answer (42)

Interview Questions & Answers

user image Anonymous

posted on 14 Oct 2021

I applied via Naukri.com and was interviewed in Apr 2021. There was 1 interview round.

Interview Preparation Tips

Interview preparation tips for other job seekers - prepare well and good luck

I applied via Referral and was interviewed before May 2021. There were 3 interview rounds.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be relaxed and cool, be truthful to the information provided in the resume and in job application.

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Medium

This round was of 90 minutes, consisting of 3 coding questions from easy to medium level. It was conducted in the morning hours. The invigilators were the staff of my college only. The platform was very smooth and almost all the programming languages were allowed.

  • Q1. 

    Valid Parentheses Problem Statement

    Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.

    Input:

    The first line contains an...
  • Ans. 

    The task is to determine if a given string consisting of parentheses is balanced or not.

    • Use a stack data structure to keep track of opening parentheses.

    • Iterate through the string and push opening parentheses onto the stack.

    • When encountering a closing parenthesis, pop the top element from the stack and check if it matches the corresponding opening parenthesis.

    • If the stack is empty at the end of the iteration and all par...

  • Answered by AI
  • Q2. 

    Trapping Rain Water Problem Statement

    You are given a long type array/list ARR of size N, representing an elevation map. The value ARR[i] denotes the elevation of the ith bar. Your task is to determine th...

  • Ans. 

    Calculate the total amount of rainwater that can be trapped between given elevations in an array.

    • Iterate through the array and calculate the maximum height on the left and right of each bar.

    • Calculate the amount of water that can be trapped at each bar by taking the minimum of the maximum heights on the left and right.

    • Sum up the trapped water at each bar to get the total trapped water for the entire array.

  • Answered by AI
  • Q3. 

    Travelling Salesman Problem

    Given a list of cities numbered from 0 to N-1 and a matrix DISTANCE consisting of 'N' rows and 'N' columns, representing the distances between each pair of cities, find the sho...

  • Ans. 

    Implement a function to find the shortest route visiting each city exactly once and returning to the starting city.

    • Use backtracking to explore all possible routes and find the minimum distance.

    • Keep track of visited cities to ensure each city is visited exactly once.

    • Consider pruning techniques like dynamic programming to optimize the solution.

    • Example: Start at city 0, visit cities 1 and 2 in any order, and return to cit...

  • Answered by AI
Round 2 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

This round was a group fly round. Team from Microsoft came for invigilation and guidance. We were divided into small groups, and a mentor was allotted to us. There were 2 questions and time was 60 minutes. First question was based on system design and second one was coding question. We were asked to write on paper and discuss with mentors. We were marked on the basis of how we discussed our ideas with our mentor and how clearly we presented our idea.

  • Q1. Design a search engine for a global retail application. Please include:
    • Assumptions
    • System considerations
    • Design components
  • Ans. 

    Design a search engine for a global retail application.

    • Assumptions: assume the search engine will need to handle a large volume of products and users from around the world

    • System considerations: scalability, speed, relevance of search results, multi-language support

    • Design components: indexing system, query processing, ranking algorithm, user interface

  • Answered by AI
  • Q2. 

    Longest Palindromic Subsequence Problem Statement

    Ninja receives a PS5 from Santa, locked in a safe with a password. The password is the length of the longest palindromic subsequence in the given string S...

  • Ans. 

    The task is to find the length of the longest palindromic subsequence in a given string.

    • Iterate through the string and create a 2D array to store the lengths of palindromic subsequences.

    • Use dynamic programming to fill the array based on the characters of the string.

    • The final answer will be the value at the last index of the array.

    • Example: For input 'CACBDBA', the longest palindromic subsequence is 'CBDC', so the output

  • Answered by AI
Round 3 - Face to Face 

(1 Question)

Round duration - 30 minutes
Round difficulty - Medium

The interview was early in the morning. The environment was very tensed, we all were very nervous for the first round of interview. The interviewers were very friendly, they were helping us a lot .

  • Q1. 

    Binary Search Tree Insertion

    Given the root node of a binary search tree and a positive integer, you need to insert a new node with the given value into the BST so that the resulting tree maintains the pr...

  • Ans. 

    Insert a new node with a given value into a binary search tree while maintaining the properties of a BST.

    • Traverse the BST starting from the root node to find the correct position for insertion.

    • Compare the value to be inserted with the current node's value to determine whether to go left or right.

    • Create a new node with the given value and insert it at the appropriate position in the BST.

    • Ensure that the resulting tree ma...

  • Answered by AI
Round 4 - Face to Face 

(1 Question)

Round duration - 30 minutes
Round difficulty - Easy

This round was conducted in the afternoon. The environment was friendly. Interviewer was very friendly and helping.

  • Q1. 

    Sort Stack Problem Statement

    You are given a stack S. Your task is to sort the stack recursively in descending order.

    Constraints:
    • Looping through the stack is not allowed.
    • Return the stack sorted ...
  • Ans. 

    Sort a given stack in descending order recursively without using loops.

    • Use recursion to pop elements from the stack and insert them in the correct position.

    • Maintain a temporary stack to hold elements while sorting.

    • Compare the top element of the stack with the top element of the temporary stack to insert in descending order.

  • Answered by AI
Round 5 - HR 

Round duration - 30 minutes
Round difficulty - Medium

I was conducted in the evening. The interviewer was very friendly and asked me questions mostly about me and my future plans.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Dr. B.R. Ambedkar National Institute of Technology. I applied for the job as SDE - Intern in HyderabadEligibility criteria7.5 CGPA, with no active backlogsMicrosoft interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, Object Oriented Programming, Database management system, System designTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Keep the resources limited for your preparation 
Tip 2 : Practice coding on a regular basis 
Tip 3 : Focus on problem solving skills 
Tip 4 : Make your resume very clean and should have full confidence on everything mentioned in the resume

Application resume tips for other job seekers

Tip 1 : Make your resume systematic and clean, preferably it should be of 1 page only 
Tip 2 : Never put false things on resume
Tip 3 : Having projects in your resume will be plus point

Final outcome of the interviewSelected

Skills evaluated in this interview

Top Microsoft Corporation Software Developer Intern Interview Questions and Answers

Q1. Mean, Median, Mode Calculation You are given an array 'ARR' consisting of 'N' integers. Your task is to calculate the three statistical measures for the given array: Mean - Implement the function mean() to calculate the mean of the array. ... read more
View answer (1)

Software Developer Intern Interview Questions asked at other Companies

Q1. Sum of Maximum and Minimum Elements Problem Statement Given an array ARR of size N, your objective is to determine the sum of the largest and smallest elements within the array. Follow Up: Can you achieve the above task using the least numb... read more
View answer (5)

Microsoft Corporation Interview FAQs

How many rounds are there in Microsoft Corporation interview?
Microsoft Corporation interview process usually has 2-3 rounds. The most common rounds in the Microsoft Corporation interview process are Technical, Coding Test and One-on-one Round.
How to prepare for Microsoft Corporation 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, Computer science, C++, Coding and Python.
What are the top questions asked in Microsoft Corporation interview?

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

  1. You are given infinite sequence of continuos natural numbers-1,2,3,4,5,6.........read more
  2. You have a cuboid (m*n*p) each block of the cuboid is having a metallic ball. ...read more
  3. Given a string of containing lower case letters and upper case characters. Find...read more
How long is the Microsoft Corporation interview process?

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

Tell us how to improve this page.

Microsoft Corporation Interview Process

based on 375 interviews

Interview experience

4.2
  
Good
View more

Interview Questions from Similar Companies

Accenture Interview Questions
3.8
 • 8.1k Interviews
IBM Interview Questions
4.0
 • 2.3k Interviews
Oracle Interview Questions
3.7
 • 846 Interviews
Google Interview Questions
4.4
 • 823 Interviews
Amdocs Interview Questions
3.7
 • 514 Interviews
Dell Interview Questions
4.0
 • 386 Interviews
Cisco Interview Questions
4.1
 • 370 Interviews
SAP Interview Questions
4.2
 • 283 Interviews
Adobe Interview Questions
3.9
 • 233 Interviews
Intel Interview Questions
4.2
 • 214 Interviews
View all

Microsoft Corporation Reviews and Ratings

based on 1.7k reviews

4.0/5

Rating in categories

3.9

Skill development

4.0

Work-life balance

3.9

Salary

3.5

Job security

4.0

Company culture

3.4

Promotions

3.7

Work satisfaction

Explore 1.7k Reviews and Ratings
Software Engineer
1.6k 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
762 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Consultant
600 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