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

Interview Questionnaire 

3 Questions

  • Q1. How to start and how to apply for the interview so that we can get at least an opportunity to give interview in there?
  • Q2. I have a left my company in probation period, so how to cope up with the mess when they ask why you left so early?
  • Q3. What should be the answer of the question of why should we hire you and where you see yourself after five years?

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)

I was interviewed before May 2021.

Round 1 - Video Call 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

This was the first round. The interviewer discussed two coding problems with me.

  • Q1. 

    LCA of Binary Tree Problem Statement

    You are given a binary tree of distinct integers, along with two nodes, ‘X’ and ‘Y’. Your task is to determine the Lowest Common Ancestor (LCA) of ‘X’ and ‘Y’.

    The LC...

  • Ans. 

    Find the Lowest Common Ancestor of two nodes in a binary tree.

    • Traverse the binary tree to find the paths from the root to nodes X and Y.

    • Compare the paths to find the last common node, which is the LCA.

    • Handle cases where one node is an ancestor of the other.

    • Consider using recursion to solve the problem efficiently.

  • Answered by AI
  • Q2. 

    Median of Two Sorted Arrays

    Given two sorted arrays A and B of sizes N and M, find the median of the merged array formed by combining arrays A and B. If the total number of elements, N + M, is even, the m...

  • Ans. 

    Find the median of two sorted arrays by merging them and calculating the middle element(s).

    • Merge the two sorted arrays into one sorted array.

    • Calculate the median based on the total number of elements in the merged array.

    • If the total number of elements is even, take the mean of the two middle elements as the median.

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 45 minutes
Round difficulty - Easy

This was the second round. We started with a brief introduction. The interviewer then asked one coding problem and we had a long discussion on that problem only.

  • Q1. 

    Possible Words From A Phone Number

    After years of research, Ninja has invented a time machine and found himself in the era where T9 keypads were commonly used in mobile phones. Being curious, Ninja seeks ...

  • Ans. 

    Given a string of digits from 2 to 9, determine all possible strings that can be generated using T9 keypad letter mappings.

    • Create a mapping of digits to corresponding letters on a T9 keypad

    • Use recursion to generate all possible combinations of letters for the input string

    • Sort the generated strings lexicographically

    • Return the array of generated strings

  • Answered by AI
Round 3 - Video Call 

Round duration - 40 minutes
Round difficulty - Easy

This was a typical managerial round. We started with a brief introduction. Then, the interviewer moved to my projects and started asking questions on one of the projects that he found interesting. At last, he asked me some questions based on Operating Systems.

Interview Preparation Tips

Eligibility criteriaAbove 8 CGPAMicrosoft interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, C++, Operating Systems, DBMS, OOPS.Time required to prepare for the interview - 5 monthsInterview preparation tips for other job seekers

Tip 1 : Practice DSA questions regularly from coding platforms.
Tip 2 : Have a clear understanding of the OS, DBMS and OOPS concepts. 
Tip 3 : Be proficient in one programming language.

Application resume tips for other job seekers

Tip 1 : Resume should be of 1-page only.
Tip 2 : Focus more on sections like Work Experience, Projects etc.

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)

I was interviewed before Sep 2020.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Easy

This round consists of 3 coding questions with a total time limit of 90 minutes. The first two questions were of easy level and the third question was of medium level. No two candidates had the same set of questions, the distribution of questions was random. The test was conducted on mettl platform with both audio and video on for monitoring on the candidate.

  • Q1. 

    Running Median Problem

    Given a stream of integers, calculate and print the median after each new integer is added to the stream.

    Output only the integer part of the median.

    Example:

    Input:
    N = 5  
    Stre...
  • Ans. 

    Calculate and print the median after each new integer is added to the stream.

    • Use two heaps - a max heap to store the smaller half of the numbers and a min heap to store the larger half.

    • Keep the sizes of the two heaps balanced to efficiently calculate the median.

    • If the total number of elements is odd, the median will be the top element of the max heap.

    • If the total number of elements is even, the median will be the avera

  • Answered by AI
  • Q2. 

    Fruits and Baskets Problem Statement

    You are given 'n' fruit trees planted along a road, numbered from 0 to n-1. Each tree bears a fruit type represented by an uppercase English alphabet. A Ninja walking ...

  • Ans. 

    The Ninja must collect fruits from trees in consecutive order, maximizing the number of fruits in two baskets.

    • Iterate through the trees while keeping track of the types of fruits collected in each basket.

    • Use a sliding window approach to find the maximum number of fruits collected.

    • Keep track of the count of each fruit type encountered to handle the condition of only two types of fruits in each basket.

  • Answered by AI
  • Q3. 

    Dice Throws Problem Statement

    You are given D dice, each having F faces numbered from 1 to F. The task is to determine the number of possible ways to roll all the dice such that the sum of the face-up num...

  • Ans. 

    The task is to determine the number of possible ways to roll all the dice such that the sum of the face-up numbers equals the given 'target' sum.

    • Use dynamic programming to solve the problem efficiently.

    • Create a 2D array to store the number of ways to achieve each sum with the given number of dice.

    • Iterate through the dice and faces to calculate the number of ways to reach each sum.

    • Return the result modulo 10^9 + 7.

    • Optim...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 50 miutes
Round difficulty - Medium

This was my first interview and I was a bit nervous. The interview was conducted on Microsoft Team. He told me to share my screen and write the pseudo code on notepad. The interviewer was very friendly and also gave me hints for the question. However, he mostly focused on optimization of the code. At the end of the question, few questions related to Operating Systems were asked.

  • Q1. 

    Group Anagrams Problem Statement

    Given an array or list of strings called inputStr, your task is to return the strings grouped as anagrams. Each group should contain strings that are anagrams of one anoth...

  • Ans. 

    Group anagrams in an array of strings based on character frequency.

    • Iterate through each string in the input array

    • For each string, sort the characters and use the sorted string as a key in a hashmap to group anagrams

    • Return the grouped anagrams as arrays of strings

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 45 minutes
Round difficulty - Medium

The second round consisted questions related to concepts of object oriented programming and databases. At the end of the interview he asked me to explain any one good project. The interview lasted for 45 minutes. The interviewer was friendly and good.

  • Q1. 

    Merge Sort Problem Statement

    You are given a sequence of numbers, ARR. Your task is to return a sorted sequence of ARR in non-descending order using the Merge Sort algorithm.

    Explanation:

    The Merge Sort...

  • Ans. 

    Implement Merge Sort algorithm to sort a given sequence of numbers in non-descending order.

    • Divide the input array into two halves recursively until each array has only one element.

    • Merge the sorted halves to produce a completely sorted array.

    • Time complexity of Merge Sort is O(n log n).

  • Answered by AI
Round 4 - HR 

Round duration - 30 minutes
Round difficulty - Easy

This was my last round and I was a bit tensed. It was an HR round. The interviewer was very professional. He discussed and asked questions about my various achievements, my interests apart from the technical field and also asked about my projects. I made sure to answer all the questions confidently and calmly.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Punjab Engineering College(Deemed To be University). Eligibility criteriaAbove 8 CGPAMicrosoft interview preparation:Topics to prepare for the interview - C++, Data Structures, Dynamic Programming, Algorithms, Operating Systems, Object Oriented Programming, Database Management SystemTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Having a grip over Data Structures and Algorithms is very important. Have your concepts crystal clear and then pick one coding platform( for example, leetcode, InterviewBit, CodeZen, GeeksForGeeks) and try to practice around 7-10 questions everyday with varying difficulty and different topics. I completed around 200+ questions on leetcode, 200+ questions on geeks for geeks and around 30-40 problems on InterviewBit.
Tip 2 : After writing code for a particular question try to analyze its time and space complexity. Think about how you can optimize your code further. Also refer to the editorials and compare your solution with it. Interviewers ask a lot about further code optimization. Hence, instead of trying to solve more and more problems, try to analyze a question completely and understand the concept behind them. 
Tip 3 : Along with coding, study about OOPS. Coding Ninja's Data Structures and Algorithms course helped a lot in preparing the OOPS concepts specifically. Also, OS and DBMS must also be studied. You can refer to GeekForGeeks articles for these topics.
Tip 4 : Keep participating in coding contests. It helps you increase your speed. I participated in almost every Leetcode Weekly Contest which helped me keeping the track of my improvement.

Application resume tips for other job seekers

Tip 1 : Do not fake any skills, projects or achievements. The interviewer gets to know about it by asking questions to you.
Tip 2 : You do need to have a long list of projects. Any 1 good project with proper knowledge of it will also do good. Similarly, you do need to have many skills to be listed down. Few skills but with proper knowledge is great.
Tip 3 : Try to write achievements which proves your technical skills, communication skills, leadership quality or teamwork.

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)

I was interviewed before Sep 2020.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Medium

The online coding round took place at 9:30 am in the morning. The platform was new so I got familiar with it in advance, a night before, to avoid any hassle during the test. There was camera proctoring and laptop screen sharing throughout the test. Multiple programming languages like Java, C, C++ and Python were allowed. There were 3 coding questions based on DSA. Questions were different for different candidates.

  • Q1. 

    Distinct Strings With Odd and Even Swapping Allowed Problem Statement

    You are provided with an array of strings, and your objective is to determine the number of unique strings within it.

    A string is deeme...

  • Ans. 

    Given an array of strings, determine the number of unique strings that cannot be transformed into another string by swapping characters at odd or even indices.

    • Iterate through each string in the array and check if it can be transformed into another string by swapping characters at odd or even indices.

    • Keep track of unique strings that cannot be transformed and return the count.

    • Example: For array = ["abcd", "cbad", "bdac"...

  • Answered by AI
  • Q2. 

    Rotational Equivalence of Strings Problem Statement

    Given two strings 'P' and 'Q' of equal length, determine if string 'P' can be transformed into string 'Q' by cyclically rotating it to the right any num...

  • Ans. 

    Check if one string can be transformed into another by cyclically rotating it to the right.

    • Iterate through all possible rotations of string P and check if any of them match string Q.

    • Use string concatenation to simulate cyclic rotations efficiently.

    • Compare the rotated strings with string Q to determine if they are equivalent.

  • Answered by AI
  • Q3. 

    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...

  • Ans. 

    Given an array representing number of buses at each bus stop, determine how many buses originate from each stop.

    • Iterate through the array and for each element, increment the count of buses originating from the corresponding bus stop.

    • Use an array to store the count of buses originating from each stop.

    • Remember to consider the constraint of 1-based indexing for bus stops.

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 45 Minutes
Round difficulty - Medium

The interview took place through Microsoft Teams at 2:00 pm. The platform was smooth and the interviewer was very friendly and told me that he isn't looking for bookish language answers but he only wants to check my understanding of CS subjects.

  • Q1. 

    Longest Mountain Subarray Problem Statement

    Given an array of integers representing the heights of mountains, determine the length of the longest subarray that forms a mountain shape.

    A mountain subarray...

  • Ans. 

    Find the length of the longest mountain subarray in an array of integers.

    • Iterate through the array to find peaks.

    • Expand from peaks to find ascending and descending slopes.

    • Track the length of the mountain subarray and return the maximum length.

  • Answered by AI
Round 3 - Video Call 

(2 Questions)

Round duration - 55 Minutes
Round difficulty - Medium

The interview was conducted on Microsoft Teams and the interviewer was very friendly. He made sure I was comfortable and described his role at Microsoft.

  • Q1. 

    Kth Largest Element Problem

    Given an array containing N distinct positive integers and a number K, determine the Kth largest element in the array.

    Example:

    Input:
    N = 6, K = 3, array = [2, 1, 5, 6, 3, ...
  • Ans. 

    Find the Kth largest element in an array of distinct positive integers.

    • Sort the array in non-increasing order and return the Kth element.

    • Use a sorting algorithm like quicksort or heapsort for efficiency.

    • Ensure the array contains distinct positive integers for accurate results.

  • Answered by AI
  • Q2. Can you describe the ACID properties in DBMS?
  • Ans. 

    ACID properties in DBMS ensure data integrity and consistency.

    • Atomicity: All transactions are either fully completed or fully aborted. For example, transferring money from one account to another should be completed in its entirety.

    • Consistency: The database remains in a consistent state before and after the transaction. For example, if a constraint is violated during a transaction, the transaction will be rolled back.

    • Is...

  • Answered by AI
Round 4 - Video Call 

(3 Questions)

Round duration - 60 Minutes
Round difficulty - Hard

The interview was conducted on Microsoft Teams and code was written on Notepad (screen shared). The interviewer was friendly and gave hints to reach the final solution.

  • Q1. 

    Data Structure with Insert, Delete, and GetRandom Operations

    Design a data structure that supports four operations: insert an element, remove an element, search for an element, and get a random element. E...

  • Ans. 

    Design a data structure supporting insert, delete, search, and getRandom operations in constant time.

    • Use a combination of hashmap and array to achieve O(1) time complexity for all operations.

    • For insert operation, check if element exists in hashmap, if not add to array and hashmap.

    • For remove operation, check if element exists in hashmap, if yes, remove from array and hashmap.

    • For search operation, check if element exists...

  • Answered by AI
  • Q2. 

    Convert BST to Sorted Doubly Linked List

    You are given a Binary Search Tree (BST), and your task is to convert it into a sorted Doubly Linked List (DLL).

    Example:

    Consider the provided BST. The goal is ...

  • Ans. 

    Convert a Binary Search Tree to a sorted Doubly Linked List efficiently.

    • Implement a function to convert a BST to a sorted DLL.

    • Use in-order traversal to efficiently convert the BST to DLL.

    • Maintain pointers for the head and tail of the DLL.

    • Ensure the left child of a node becomes the previous node and the right child becomes the next node in the DLL.

  • Answered by AI
  • Q3. What would your dream project be like?

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Indira Gandhi Delhi Technical University for Women. I applied for the job as SDE - 1 in HyderabadEligibility criteriaMinimum 80% academic score, No active or dead backlog, Only CSE, IT and ECE students allowedMicrosoft interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, Operating System, Object Oriented Programming Concepts, Database Management System, Aptitude Questions, Resume DiscussionTime required to prepare for the interview - 5 MonthsInterview preparation tips for other job seekers

Tip 1 : The most important topic to prepare is DSA, everything else is secondary. Don't run behind advanced technologies if your DSA concepts are not strong.
Tip 2 : Make sure you know the fundamentals of the programming language you code in, apart from OS, OOP and DBMS concepts. Knowledge of these topics showcase your interest in Computer Science, in general. 
Tip 3 : Practice by giving contests on Leetcode and other coding platforms. Don't focus on your score or rank, just focus on your learning.

Application resume tips for other job seekers

Tip 1 : Make sure your resume is well structured and only 1 page, if you are a fresher. It should include relevant sections like Work Experience (Any past internships), PORs (Any college society you were a part of), Personal Projects and Achievements that you wish to showcase.
Tip 2 : Proofread your resume multiple times. Get it reviewed by your seniors or your friends to ensure there are no grammatical mistakes or spelling errors as it gives a bad impression.

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)

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 was interviewed before Sep 2020.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Medium

The round consists of 3 coding questions and the test was conducted on mettl platform. There was no sectional time limit for the coding questions. Every student got randomly 3 coding questions and none of the students got the same set of questions. The test was online with audio and video both on for continuous monitoring.

  • 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:

    1. Mean - Implement the function mean...
  • Ans. 

    Implement functions to calculate mean, median, and mode of an array of integers.

    • Implement a function mean() to calculate the mean of the array by summing all elements and dividing by the total count.

    • Implement a function median() to calculate the median of the array by sorting the array and finding the middle element(s).

    • Implement a function mode() to find the mode of the array by counting frequencies and returning the s

  • Answered by AI
  • Q2. 

    Nth Term of Geometric Progression (GP) Series

    Determine the Nth term of a geometric progression (GP) series given the first term, common ratio, and the term number.

    Explanation:

    The general form of a GP...

  • Ans. 

    Calculate the Nth term of a geometric progression series given the first term, common ratio, and term number.

    • Use the formula for the Nth term of a GP series: A * (R^(N-1))

    • Ensure to take the modulo 10^9 + 7 as the output

    • Handle multiple test cases efficiently within the given time limit

  • Answered by AI
  • Q3. 

    Dice Throw Problem Statement

    You are provided with D dice, each having F faces numbered 1 to F, inclusive. Your task is to determine the number of possible ways to roll the dice such that the sum of the f...

  • Ans. 

    The problem involves finding the number of ways to achieve a target sum by rolling a given number of dice with a certain number of faces.

    • Use dynamic programming to keep track of the number of ways to achieve each sum from 1 to the target sum.

    • Iterate through the dice and faces to update the number of ways to reach each sum.

    • Return the number of ways to achieve the target sum modulo 10^9 + 7.

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 50 minutes
Round difficulty - Medium

This round was based on data structures and some discussion regarding the projects. The interviewer was very calm and listened very carefully to the solutions. There was a lot of discussion on my projects and the interviewer seems to be very interested in knowing about the workflows of my projects.

  • Q1. 

    Identical Trees Problem Statement

    Given two binary trees with 'N' and 'M' nodes respectively, determine if the two trees are identical. Return true if they are identical, otherwise return false.

    Input:

    ...
  • Ans. 

    Check if two binary trees are identical by comparing their nodes in level order.

    • Traverse both trees in level order and compare corresponding nodes for equality

    • Use a queue to keep track of nodes to be compared

    • Return false if nodes are not equal or if one tree has more nodes than the other

  • Answered by AI
  • Q2. 

    Distinct Subsequences of a String

    Given a string S of length N that may contain duplicate alphabets, your task is to compute the count of distinct subsequences of this string.

    Example:

    Input:
    S = "deed...
  • Ans. 

    Compute the count of distinct subsequences of a string with possible duplicates.

    • Use dynamic programming to keep track of distinct subsequences.

    • Consider the cases where the current character is included or excluded in the subsequence.

    • Use a hashmap to store the last occurrence index of each character to handle duplicates efficiently.

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 50 minutes
Round difficulty - Medium

This round was also based on data structures and the interviewer was not responding as much as in the first round so that I should think on my own that whether I am on right track or not. In this round also there was a deep discussion on one of my web development with machine learning project. So don't panic in these situations If the interviewer is not responding much because he is noting down every tiny detail of your written code.

  • Q1. 

    Delete Kth Node from End of Linked List

    This problem requires you to delete the Kth node from the end of a given singly linked list with N nodes containing integer data.

    You are asked to efficiently remo...

  • Ans. 

    To delete the Kth node from the end of a singly linked list efficiently without finding the length of the list and using O(1) extra space.

    • Use two pointers approach - one pointer moves K steps ahead of the other.

    • When the first pointer reaches the end, the second pointer will be at the Kth node from the end.

    • Adjust the pointers to remove the Kth node efficiently.

    • Ensure to handle edge cases like deleting the head or tail n...

  • Answered by AI
Round 4 - HR 

Round duration - 30 minutes
Round difficulty - Medium

This was an HR/Coding round and was the final one. The coding question was to find the nth node from the end of the linked list which is similar to the one asked in the previous round. The interview started with 2-3 HR questions and after I answered all of them, there was a serious discussion on my projects like why did you chose this project, what are its advantages, was it able to solve the existing problem. I answered all the project related queries very calmly and he was satisfied.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Punjab Engineering College(Deemed To be University). Eligibility criteriaAbove 8 CGPAMicrosoft interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, OOPS, Operating System, Database Management, C++, or Java (proficient in anyone) Computer Networks.Time required to prepare for the interview - 2-3 monthsInterview preparation tips for other job seekers

Tip 1 : I would suggest practicing as many questions on data structures and algorithms as you can because it is the question practice that would help you in building your concepts strong. I practiced a lot of questions on InterviewBit and completed all modules of data structures and algorithms because there you can find the recent interview questions that you should know. 
Tip 2 : If you have time for your interviews, I would recommend going through Leetcode as it has a good variety of questions sorted on topic wise difficulty level where you can try to solve at least 20-30 questions for each data structure and algorithm. Moreover, you should regularly participate in the weekly contests happening there so that you could know about your weak areas to improve.
Tip 3 : Along with coding you should be clear about some basic concepts of Operating systems and Databases that would help in your interviews. One more thing is that do some good research about the company's goal and vision and be prepared to ask some company-related queries that show your interest in the company.

Application resume tips for other job seekers

Tip 1 : Your Resume should consist of mainly skills, projects, and achievements. Projects would play a crucial part in your interview and you should have at least one most relevant and good project that shows how strong your concepts are in development. 
Tip 2 : The most important tip is that never lie on your resume and like If you have worked upon some technology for the project part only and don't know the proper depth you could write basics only in your resume.

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 was interviewed in Jan 2021.

Round 1 - Face to Face 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Easy

It was an online technical interview focusing on DS and algorithms. They asked two questions in this round. He also asked me to code both the questions. I solved both questions with confidence.
They also gave a puzzle to solve. Out of 32 they selected 22 students along with me.

  • 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 adjusting the boundaries of rows and columns.

    • Keep track of the direction of traversal (right, down, left, up) to cover all elements.

    • Print the elements in the spiral path as you traverse the matrix.

    • Handle edge cases like when the matrix is a single row or column.

  • Answered by AI
  • Q2. You are given a certain number of eggs and a building with a number of floors. The goal is to find the highest floor from which you can drop an egg without breaking it. What is the optimal strategy to mini...
  • Ans. 

    Optimal strategy to minimize number of drops to find highest floor an egg can be dropped without breaking.

    • Start by dropping the first egg from a lower floor and incrementally increase the floor until it breaks.

    • Once the first egg breaks, use the second egg to perform a binary search between the last successful drop and the floor below the breaking point.

    • This strategy ensures the minimum number of drops required to find

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Punjab Engineering College(Deemed To be University). I applied for the job as SDE - Intern in BangaloreEligibility criteria8 CGPAMicrosoft interview preparation:Topics to prepare for the interview - Data Structure, Algorithms, DBMS, OS, Computer NetworksTime required to prepare for the interview - 6 MonthsInterview preparation tips for other job seekers

Tip 1 : Focus on your data structure and algorithms part, these plays a crucial role in clearing the test.
Tip 2 : Don't lie on your resume.
Tip 3 : Mention one or two good projects on your resume.

Application resume tips for other job seekers

Tip 1 : Have some good projects on resume and know everything about your projects.
Tip 2 : Write only what you know. Don't lie anything on resume as they will find out.

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)

I was interviewed before Dec 2020.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Easy

The test was held on Mettl Platform in online mode from 10:00-10:15 AM joining time for 90 minutes.

  • Q1. 

    Infix to Postfix Conversion

    Convert a given infix expression, represented as a string EXP, into its equivalent postfix expression.

    Explanation:

    An infix expression is formatted as a op b where the opera...

  • Ans. 

    Convert infix expression to postfix expression.

    • Use a stack to keep track of operators and operands.

    • Follow the rules of precedence for operators.

    • Handle parentheses to ensure correct order of operations.

  • Answered by AI
  • Q2. 

    Most Frequent Word Problem Statement

    You are given two strings 'A' and 'B' composed of words separated by spaces. Your task is to determine the most frequent and lexicographically smallest word in string ...

  • Ans. 

    Find the most frequent and lexicographically smallest word in string 'A' that is not present in string 'B'.

    • Split strings 'A' and 'B' into words

    • Count frequency of each word in 'A'

    • Check if word is not in 'B' and is the most frequent and lexicographically smallest

    • Return the word or -1 if no such word exists

  • Answered by AI
  • Q3. 

    Regular Expression Match Problem Statement

    Given a string str and a string pat, where str may contain wildcard characters '?' and '*'.

    If a character is '?', it can be replaced with any single character....

  • Ans. 

    Given a string with wildcard characters, determine if it can be transformed to match another string.

    • Iterate through both strings simultaneously, handling wildcard characters '?' and '*' accordingly.

    • Use dynamic programming to keep track of matching characters.

    • Handle cases where '*' can match an empty sequence or multiple characters.

    • Return true if at the end both strings match, false otherwise.

  • Answered by AI

Interview Preparation Tips

Eligibility criteria8+ CGPAMicrosoft interview preparation:Topics to prepare for the interview - Dynamic Programming, Graphs , Two Pointers, Trees, Linked Lists, OOPS, Hashing and Heaps, Stacks and Queues, Database Management Systems, Probability, System Design.Time required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Try to give the weekly and biweekly contests on LeetCode before atleast 2-3 months from the start of interviews as these questions are mainly based on Data Structures, most of these are directly asked in interviews. These will also help in accelerate your speed of writing codes and it will help during interviews as we are often asked to write codes or pseudocodes most of the times. I followed this approach and got a lot of benefit.
You can check my LeetCode Profile here: https://leetcode.com/vsam09_iitg/
Tip 2 : Try to complete the Interview Bit or LeetCode (prefer only one as both have similar type of questions) before the start of interviews and start solving it from 3 months before as it will took time to complete it. If you get stuck in some question, don't try to directly see the solutions. First try to see the hints mentioned there. Then try to read the discussion forum and try to code it yourself. This approach will help you as sometimes same questions are being asked in the interviews and if we haven't coded it yourself then sometimes it creates trouble in the important interviews. 
Tip 3 : Try to maintain 2-3 good projects in which you can speak for about 10-15 minutes. Try to have a complete or necessary background information about the technical details of the project. For example in Web Development projects, try to have necessary information on Database Management.
Tip 4 : Do give mock interviews on interview bit/ proxy before the interviews as it will help you in kept calm and confident during the interviews and help you to better explain the interviewer your explanations regarding your solutions.

Application resume tips for other job seekers

Tip 1 : Try to showcase only important information in each section. For example in Projects section, try to list the purpose of the project, how it is beneficial for others, technologies it uses etc. 
Tip 2 : Try to make the resume as precise and short as possible since most of the interviewers prefers short and clear resumes as it makes easier for them to ask different questions. 
Tip 3 : Try to highlight the important points in which you are proficient or if it is a big achievement in bold as it directs the attention of the interviewer towards those points more and is often likely to ask about those points.
Tip 4 : Try to have some good achievements regarding coding events and hackathons like good rank in Google KickStart, good LeetCode Rating etc as it will help you to showcase yourself to interviewer in your coding skills and different areas.

Final outcome of the interviewRejected

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)

Sales Interview Questions & Answers

user image Anonymous

posted on 18 Jan 2021

I applied via Recruitment Consultant and was interviewed in Dec 2020. There was 1 interview round.

Interview Questionnaire 

3 Questions

  • Q1. What is you experience in Sales? Did you have a quota assigned? How much target did you achieve
  • Ans. 

    I have 5 years of experience in sales with a proven track record of meeting and exceeding quotas.

    • I have 5 years of experience in sales

    • I consistently met and exceeded my assigned quotas

    • I achieved a target of 120% in the last fiscal year

    • I have a strong understanding of the sales process and techniques

    • I have successfully closed deals with high-value clients

  • Answered by AI
  • Q2. What are the major challenges that you face? and how did you resolve it?
  • Q3. Explain a Analytics case study that you worked on , what were the "sell to" criteria " that helped you win the deal
  • Ans. 

    I worked on an analytics case study where we helped a retail company optimize their inventory management.

    • The client was looking to reduce their inventory costs while ensuring they always had enough stock to meet demand.

    • We analyzed their sales data and identified patterns in customer behavior and seasonal trends.

    • We recommended implementing a predictive analytics tool to forecast demand and optimize inventory levels.

    • The ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Do not go with prepared set of answers
Just be honest

Sales Interview Questions asked at other Companies

Q1. Shall anyone should go for BDA Or Sales for Learning / Monetary benefit?
View answer (7)

Interview Questionnaire 

1 Question

  • Q1. Implement serialization of tree
  • Ans. 

    Serialize a tree data structure

    • Use pre-order traversal to serialize the tree

    • Store null values as a special character

    • Use a delimiter to separate nodes

    • Example: 1,2,null,null,3,4,null,null,5,null,null

    • Deserialize by splitting the string and using a queue

  • Answered by AI

Skills evaluated in this interview

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 (203)

I was interviewed before Oct 2020.

Round 1 - Video Call 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

Timing-> EVENING(5 TO 6)
The interviewer was very sweet and calm.

  • Q1. 

    Cycle Detection in a Singly Linked List

    Determine if a given singly linked list of integers forms a cycle or not.

    A cycle in a linked list occurs when a node's next points back to a previous node in the ...

  • Ans. 

    Detect if a singly linked list forms a cycle by checking if a node's next pointer points back to a previous node.

    • Use Floyd's Cycle Detection Algorithm to determine if there is a cycle in the linked list.

    • Maintain two pointers, one moving at twice the speed of the other.

    • If the two pointers meet at any point, there is a cycle in the linked list.

  • Answered by AI
  • Q2. 

    Boundary Traversal of a Binary Tree

    Given a binary tree of integers, your task is to return the boundary nodes of the tree in Anti-Clockwise direction starting from the root node.

    Input:

    The first line ...
  • Ans. 

    Return the boundary nodes of a binary tree in Anti-Clockwise direction starting from the root node.

    • Traverse the left boundary nodes in a top-down manner

    • Traverse the leaf nodes in a left-right manner

    • Traverse the right boundary nodes in a bottom-up manner

    • Avoid duplicates in boundary nodes

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - Intern in HyderabadEligibility criteriaNo criteriaMicrosoft interview preparation:Topics to prepare for the interview - Data Structures, OOPS, Project, Algorithms, Dynamic Programming, Operating systemsTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Your basics should be clear.
Tip 2 : Practice At least 200+ Questions

Application resume tips for other job seekers

Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume

Final outcome of the interviewRejected

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