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 23 Feb 2025

Top Microsoft Corporation Interview Questions and Answers

View all 734 questions

Microsoft Corporation Interview Experiences

Popular Designations

555 interviews found

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

2 DSA questions asked on codility platform. One was about backtracking, and another about 1D DP.

Round 2 - Technical 

(2 Questions)

  • Q1. Given a binary tree, return false if there exists any node such that it has two children and left node has value greater than right, else return true.
  • Ans. 

    Check if any node in binary tree violates left node value less than right node value rule.

    • Traverse the binary tree using depth-first search (DFS) or breadth-first search (BFS) and check each node for the given condition.

    • If a node has two children and the left child's value is greater than the right child's value, return false.

    • If no such node is found, return true.

    • Example: For a binary tree with nodes 5, 3, 7, 2, 4, 6, ...

  • Answered by AI
  • Q2. Remove duplicate characters from a string efficiently.
  • Ans. 

    Use a hash set to efficiently remove duplicate characters from a string.

    • Create a hash set to store unique characters.

    • Iterate through the string and add each character to the hash set.

    • If a character is already in the hash set, skip it.

    • Convert the hash set back to a string to get the result.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Do leetcode medium for interviews, medium + hard for OA round.

Skills evaluated in this interview

Software Engineer Intern Trainee Interview Questions asked at other Companies

Q1. find average salary of employees from given table for each designation where employee age greater than 30
View answer (1)
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Process the given string
  • Q2. Sort the array in alternates
  • Ans. 

    Sort the array in alternates

    • Iterate through the array and separate the strings into two separate arrays based on their index being even or odd

    • Sort both arrays separately

    • Merge the two sorted arrays back into the original array in alternate positions

  • Answered by AI

Skills evaluated in this interview

Top Microsoft Corporation Software Engineer Interview Questions and Answers

Q1. Word WrapYou are given ‘N’ words of various lengths, now you have to arrange these words in such a way that each line contains at most ‘M’ characters and each word is separated by a space character. The cost of each line is equal to the cub... read more
View answer (4)

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 (169)
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

6 questions asked in an interview

Round 2 - Technical 

(2 Questions)

  • Q1. Slider window problem
  • Ans. 

    The slider window problem involves finding the maximum sum of a subarray of a fixed size k within an array of integers.

    • Use a sliding window approach to efficiently find the maximum sum subarray.

    • Keep track of the current sum within the window and update it as you slide the window.

    • Maintain a variable to store the maximum sum found so far.

    • Example: Given array [1, 3, -1, -3, 5, 3, 6, 7] and window size k=3, the maximum sum

  • Answered by AI
  • Q2. Stock buy sell problem
  • Ans. 

    The stock buy sell problem involves finding the maximum profit that can be made by buying and selling a stock at the right times.

    • Calculate the difference between each pair of consecutive prices in the array

    • Find the maximum subarray sum of the differences using Kadane's algorithm

    • The maximum subarray sum is the maximum profit that can be made

  • Answered by AI

Skills evaluated in this interview

Sdet Automation Test Engineer Interview Questions asked at other Companies

Q1. Wait in selenium and how to find all links present in a page xpath
View answer (2)

Software Developer Interview Questions & Answers

user image Tarun Jaiswal

posted on 30 Nov 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

DSA, Graph, DP, Arrays

Top Microsoft Corporation Software Developer Interview Questions and Answers

Q1. BusesYou are given a vector of 'N' integers denoting the number of buses that can be boarded from the i-th position. The bus stops only at stops whose number is a multiple of the bus stop number from which the bus originates. You need to fi... read more
View answer (4)

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray SumGiven an array of numbers, find the maximum sum of any contiguous subarray of the array. For example, given the array [34, -50, 42, 14, -5, 86], the maximum sum would be 137, since we would take elements 42, 14, -5, and ... read more
View answer (39)

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)

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Synchronisation primitives in rust?
  • Ans. 

    Rust provides various synchronisation primitives like Mutex, RwLock, Atomic types, etc.

    • Mutex: Provides exclusive access to data

    • RwLock: Allows multiple readers or one writer at a time

    • Atomic types: Provide atomic operations on primitive types

  • Answered by AI
  • Q2. Write a rust code to read a file reverse the contents & write it back to file. Using multiple threads
  • Ans. 

    Rust code to read a file, reverse contents, and write back using multiple threads

    • Use std::fs to read and write files

    • Create multiple threads to handle reading, reversing, and writing operations

    • Use channels to communicate between threads

  • Answered by AI
Round 2 - Coding Test 

DSA question on Depth first search. & other on reverse the strings.

Skills evaluated in this interview

Principal Engineer Interview Questions asked at other Companies

Q1. what technique did you use to understand the root cause of the problem and isolate the specific task or process that needed attention
View answer (3)

Get interview-ready with Top Microsoft Corporation Interview Questions

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Basic networking questions including dns dhcp tcp ssl

Top Microsoft Corporation Technical Support Engineer Interview Questions and Answers

Q1. What are the steps which you will follow if a customer calls and tell you that he is not able to do any editing in Microsoft word?
View answer (2)

Technical Support Engineer Interview Questions asked at other Companies

Q1. Admin Questions :- What is Relationships what are types of relationships
View answer (4)
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Azure architecture
  • Q2. Azure security/ azure logic apps/data engineering
Round 2 - Technical 

(2 Questions)

  • Q1. Azure migration
  • Q2. Azure devops / azure data engineering
Round 3 - Case Study 

Architecture roadmap 3 tier

Round 4 - HR 

(1 Question)

  • Q1. Culture of firm
  • Ans. 

    The culture of the firm is collaborative, innovative, and customer-focused.

    • Encourages teamwork and open communication

    • Values creativity and continuous improvement

    • Prioritizes customer satisfaction

    • Promotes diversity and inclusion

    • Emphasizes work-life balance

  • Answered by AI

Azure Administrator Interview Questions asked at other Companies

Q1. What are the linux distributions you are using in customer environment?
View answer (2)
Interview experience
4
Good
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
No response

I applied via Approached by Company and was interviewed in Jul 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Longest continuous subarray with absolute difference less than or equal to limit

Round 2 - Design Test 

(1 Question)

  • Q1. Recommendation system

Top Microsoft Corporation Senior Software Engineer Interview Questions and Answers

Q1. Design elevators - How would you design how elevators work. How do you add different roles etc.
View answer (1)

Senior Software Engineer Interview Questions asked at other Companies

Q1. Find Nth PrimeYou are given a number 'N'. Your task is to find Nth prime number. A prime number is a number greater than 1 that is not a product of two smaller natural numbers. Prime numbers have only two factors – 1 and the number itself. ... read more
View answer (6)
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

DP AND GRAPH related questions they asked

Round 2 - Technical 

(2 Questions)

  • Q1. First they started with intro
  • Q2. One dp question and then os

Top Microsoft Corporation Software Engineer Interview Questions and Answers

Q1. Word WrapYou are given ‘N’ words of various lengths, now you have to arrange these words in such a way that each line contains at most ‘M’ characters and each word is separated by a space character. The cost of each line is equal to the cub... read more
View answer (4)

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

Senior Manager Interview Questions & Answers

user image Gurdeep Singh

posted on 25 Sep 2024

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

(1 Question)

  • Q1. Design a file storage system
  • Ans. 

    A scalable and secure file storage system design

    • Utilize cloud storage for scalability and accessibility

    • Implement encryption for data security

    • Use redundancy and backups to prevent data loss

    • Organize files in a hierarchical structure for easy retrieval

    • Implement access controls to restrict unauthorized access

  • Answered by AI

Skills evaluated in this interview

Senior Manager Interview Questions asked at other Companies

Q1. 1. What you understand the requirement of shuttering material at project site?
View answer (19)

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 373 interviews

Interview experience

4.2
  
Good
View more

Interview Questions from Similar Companies

Accenture Interview Questions
3.8
 • 8.2k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
Oracle Interview Questions
3.7
 • 902 Interviews
Google Interview Questions
4.4
 • 870 Interviews
Amdocs Interview Questions
3.7
 • 532 Interviews
Cisco Interview Questions
4.1
 • 397 Interviews
Dell Interview Questions
4.0
 • 392 Interviews
SAP Interview Questions
4.2
 • 308 Interviews
Adobe Interview Questions
3.9
 • 251 Interviews
Intel Interview Questions
4.2
 • 223 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.8

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.9k salaries
unlock blur

₹13 L/yr - ₹50 L/yr

Senior Software Engineer
1.1k salaries
unlock blur

₹25 L/yr - ₹85 L/yr

Software Engineer2
1k salaries
unlock blur

₹20 L/yr - ₹72 L/yr

Consultant
599 salaries
unlock blur

₹13 L/yr - ₹36.7 L/yr

Support Engineer
578 salaries
unlock blur

₹7.7 L/yr - ₹30 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