Upload Button Icon Add office photos

Microsoft Corporation

Compare button icon Compare button icon Compare

Filter interviews by

Microsoft Corporation Interview Questions and Answers

Updated 2 Jul 2025
Popular Designations

765 Interview questions

A Software Developer was asked
Q. Given a sorted circular linked list, write a function to insert a new element into the list while maintaining its sorted order. Consider all cases, including inserting at the beginning, end, and middle of t...
Ans. 

Insert an element into a sorted circular linked list.

  • Find the correct position to insert the element based on its value

  • Update the pointers of the previous and next nodes to include the new node

  • Handle special cases such as inserting at the beginning or end of the list

  • Example: Inserting 5 into a list with values 1, 3, 4, 6, 7 would result in 1, 3, 4, 5, 6, 7

View all Software Developer interview questions
A Software Developer was asked
Q. How can you find the nth power of a number in the shortest computational time?
Ans. 

Use exponentiation by squaring algorithm to find nth power of a number in shortest computational time.

  • Use recursion to divide the power by 2 and multiply the base accordingly

  • If power is odd, multiply the base with the result of recursive call

  • If power is negative, take reciprocal of base and make power positive

  • Handle edge cases like power=0 and base=0 or 1

  • Time complexity is O(log n)

View all Software Developer interview questions
A Software Developer was asked
Q. How do you find the nth largest number in a binary tree?
Ans. 

Find the nth largest number in a binary tree

  • Traverse the tree in-order and store the values in an array

  • Return the (n-1)th index of the sorted array in descending order

  • Use a max heap to keep track of the largest n elements

View all Software Developer interview questions
🔥 Asked by recruiter 2 times
A Software Developer was asked
Q. Given a linked list, invert every two nodes in the list. For example, given a -> b -> c -> d, the result should be b -> a -> d -> c.
Ans. 

The given linked list needs to be inverted in pairs of two nodes.

  • Iterate through the linked list, swapping every two adjacent nodes.

  • Keep track of the previous node to update the next pointers correctly.

  • Handle the edge cases of odd number of nodes or empty list.

View all Software Developer interview questions

What people are saying about Microsoft Corporation

View All
a software developer
1w
Just Microsoft things!
Offer sleeping pods in office Employees turn unproductive Revenue drops Fire Thousands of employees in the name of "AI Revolution"!
FeedCard Image
Got a question about Microsoft Corporation?
Ask anonymously on communities.
A Software Developer was asked
Q. Two numbers are stored in two linked lists, with one digit in each node. Add the numbers and return the resultant sum in a linked list. eg. if LL1= 2 ­> 3 ­> 5, LL2= 1­>4­>5, result should be LL...
Ans. 

The question asks to add two numbers represented as linked lists and return the sum as a linked list.

  • Traverse both linked lists simultaneously, adding the corresponding digits and carrying over the carry.

  • Create a new linked list to store the sum digits.

  • Handle cases where one linked list is longer than the other.

  • Consider cases where the sum has an additional carry digit at the end.

View all Software Developer interview questions
🔥 Asked by recruiter 2 times
A Software Developer was asked
Q. Given 5 points in a plane, prove that there will be at least two points such that their midpoint is an integer.
Ans. 

Prove that given 5 points in a plane, there will be at least two points such that their midpoint is an integer.

  • Consider the x and y coordinates of the 5 points.

  • If any two points have the same x and y coordinates, their midpoint will be an integer.

  • If not, consider the differences between the x and y coordinates of each pair of points.

  • If any two pairs have differences that are both even or both odd, their midpoints ...

View all Software Developer interview questions
🔥 Asked by recruiter 2 times
A Software Developer was asked
Q. There is a roller which can have two types of wood blocks, 49 cm and 50 cm. Given two sensors 50 cm apart which call a function ring() whenever the sensor changes state, write the function ring() to calcula...
Ans. 

The function ring() calculates the number of blocks of both types based on sensor state changes.

  • Create a variable to keep track of the number of 49 cm blocks

  • Create another variable to keep track of the number of 50 cm blocks

  • Initialize both variables to 0

  • Whenever the sensor changes state, increment the corresponding block variable

  • Return the count of both block types as an array of strings

View all Software Developer interview questions
Are these interview questions helpful?
🔥 Asked by recruiter 2 times
A Software Developer was asked
Q. A file or a directory can be represented as a node with properties like ID, parent ID, name, and number of children (0 for a file). The file structure is a linked list of nodes where the parent directory al...
Ans. 

Implement a GUI to display a file structure using a linked list of nodes representing files and directories.

  • Each node has properties: ID, parent ID, name, and number of children.

  • The linked list maintains the order: parent directories appear before their children.

  • To display children, traverse the linked list and check for matching parent IDs.

  • Example: For a parent node with ID 1, find all nodes with parent ID 1 to d...

View all Software Developer interview questions
A Software Developer was asked
Q. Given a room with points pertaining to different groups, determine whether the connection is planar or non-planar. When connecting all the points in the same group, the wires of different groups should not ...
Ans. 

Determine if connections between groups of points in a room are planar or non-planar based on overlapping wires.

  • Planar graphs can be drawn on a plane without edges crossing.

  • Non-planar graphs require edges to cross when drawn on a plane.

  • Example of a planar graph: A triangle connecting three points.

  • Example of a non-planar graph: K5 (complete graph with 5 vertices) cannot be drawn without crossings.

View all Software Developer interview questions
A Software Developer was asked
Q. Given a binary search tree and a number N in the tree, print the leftmost node at the same level as N.
Ans. 

Print the leftmost node at the same level as a given node in a binary search tree.

  • Traverse the tree level by level using BFS

  • Keep track of the leftmost node at each level

  • Return the leftmost node at the level of the given node

  • If the given node is not found, return null

View all Software Developer interview questions

Microsoft Corporation Interview Experiences

576 interviews found

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

I appeared for an interview in Feb 2025.

Round 1 - Coding Test 

Duration: 30 minutes - Format: Online coding challenge - Type: Technical screening - Questions: 2 to 3 coding problems.

Round 2 - Coding Test 

Be prepared to answer in-depth technical questions.
- Review data structures, algorithms, and system design concepts.
- Practice explaining complex technical concepts in simple terms.
- Be ready to write code on a shared document or whiteboard.

Round 3 - Aptitude Test 

Aptitude Test:
The aptitude test was a *multiple-choice question*-based assessment that evaluated my logical reasoning, problem-solving, and analytical skills. It consisted of:

- *Quantitative reasoning*: Mathematical problems, such as algebra, geometry, and data interpretation.
- *Logical reasoning*: Pattern recognition, deductive reasoning, and logical puzzles.
- *Verbal reasoning*: Reading comprehension, grammar, and vocabulary.

Aptitude Test Details:
- *Duration*: 60 minutes
- *Format*: Online multiple-choice questions
- *Type*: Aptitude test
- *Questions*: 30-40 questions

What to expect:
- Practice solving logical and mathematical problems.
- Review basic mathematical concepts, such as algebra and geometry.
- Improve your reading comprehension and verbal skills.
- Manage your time effectively to complete the test within the given time frame.

Round 4 - Assignment 

Assignment:
The assignment was a *take-home project* that tested my technical skills, problem-solving abilities, and coding expertise. I was given:

- A set of requirements and specifications
- A deadline to complete the project
- Freedom to choose the programming language and tools

Assignment Details:
- *Duration*: 3-5 days
- *Format*: Take-home project
- *Type*: Technical assignment
- *Requirements*: Implement a specific feature or functionality

What to expect:
- Carefully read and understand the requirements and specifications.
- Plan and design the solution before starting to code.
- Write clean, efficient, and well-documented code.
- Test the solution thoroughly to ensure it meets the requirements.
- Submit the assignment on time, along with any required documentation.

Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
-
Result
No response
  • Q1. Which literary character do you most closely relate to, and what are the reasons for this connection?
  • Ans. 

    I relate to Samwise Gamgee from 'The Lord of the Rings' for his loyalty, resilience, and dedication to supporting others.

    • Samwise embodies unwavering loyalty, always supporting Frodo on his journey.

    • He demonstrates resilience, overcoming challenges despite his fears.

    • Sam's practical problem-solving skills help navigate difficult situations, similar to maintenance management.

    • His dedication to his friends mirrors my commitm...

  • Answered by AI
  • Q2. What would you do if a team member was visibly upset?
  • Ans. 

    I would approach the team member with empathy, listen to their concerns, and offer support to help them feel better.

    • Approach the team member privately to avoid embarrassment.

    • Ask open-ended questions to understand their feelings, e.g., 'I've noticed you're upset; would you like to talk about it?'

    • Listen actively without interrupting, showing that I care about their well-being.

    • Offer support, whether it's helping with work...

  • Answered by AI
  • Q3. If you were a CEO of your previous company,what would you change?
  • Ans. 

    As CEO, I would enhance communication, invest in training, and prioritize preventive maintenance to boost efficiency and morale.

    • Improve internal communication by implementing regular team meetings and feedback sessions to ensure everyone is aligned.

    • Invest in employee training programs to enhance skills and knowledge, leading to better performance and job satisfaction.

    • Shift focus towards preventive maintenance strategie...

  • Answered by AI
  • Q4. What were your reasons for leaving your previous company?
  • Ans. 

    I left my previous company to seek new challenges and opportunities for professional growth in a more dynamic environment.

    • Desire for career advancement: I wanted to take on more leadership responsibilities, which were limited in my previous role.

    • Seeking a better cultural fit: The company culture was not aligned with my values, and I wanted to work in a more collaborative environment.

    • Pursuing new challenges: I felt that...

  • Answered by AI
  • Q5. How do you encourage a culture of creativity within a team?
  • Ans. 

    Fostering creativity involves open communication, collaboration, and providing resources for innovative thinking.

    • Encourage open dialogue: Create a safe space for team members to share ideas without fear of criticism.

    • Implement brainstorming sessions: Regularly schedule meetings where team members can freely discuss and develop new ideas.

    • Provide resources: Offer tools and training that enable team members to explore crea...

  • Answered by AI
  • Q6. How would you handle a serious situation at home when you have an important meeting to attend?
  • Ans. 

    I would prioritize the situation, communicate effectively, and seek support to ensure both responsibilities are managed effectively.

    • Assess the seriousness of the situation at home and determine if it requires immediate attention.

    • Communicate with family members to delegate tasks or seek their support during the meeting.

    • If possible, reschedule the meeting or request to attend remotely if the situation allows.

    • Prepare in a...

  • Answered by AI
  • Q7. What strategies can be employed to effectively address a serious issue such as unemployment?
  • Ans. 

    Addressing unemployment requires strategic initiatives focusing on skills development, job creation, and community engagement.

    • Implement vocational training programs to equip individuals with in-demand skills, such as coding bootcamps or trade apprenticeships.

    • Encourage local businesses to hire through tax incentives or subsidies, fostering job creation in the community.

    • Promote entrepreneurship by providing grants or low...

  • Answered by AI
  • Q8. What is your personal motto,and how does it reflect your work ethics?
  • Ans. 

    My personal motto is 'Excellence through diligence,' reflecting my commitment to quality and continuous improvement in maintenance management.

    • I believe in proactive maintenance; for example, implementing a predictive maintenance program that reduced downtime by 20%.

    • I prioritize safety and compliance, ensuring all team members are trained and equipped to follow safety protocols.

    • I foster a culture of teamwork and communi...

  • Answered by AI
  • Q9. If you have limited resources to start a project and you don't want to loan, what it would be and why?
  • Ans. 

    Prioritize essential resources and focus on cost-effective solutions to maximize project impact without loans.

    • Identify critical tasks: Focus on the most impactful aspects of the project that align with strategic goals.

    • Leverage existing assets: Utilize current equipment and personnel to minimize additional costs.

    • Implement phased approach: Break the project into smaller phases to manage resources effectively and assess p...

  • Answered by AI
  • Q10. Can you share an experience where you had to lead a team through a significant change?
  • Ans. 

    Led a maintenance team through a major equipment upgrade, ensuring smooth transition and team cohesion.

    • Identified the need for change due to outdated equipment affecting efficiency.

    • Conducted team meetings to discuss the upcoming changes and gather input.

    • Developed a detailed implementation plan with timelines and responsibilities.

    • Provided training sessions to upskill team members on new equipment.

    • Monitored progress and ...

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

I appeared for an interview in Feb 2025.

Round 1 - Coding Test 

There are two rounds in the interview process: the first round consists of one data structures and algorithms question based on trees.

Round 2 - Technical 

(2 Questions)

  • Q1. What is the problem statement for Binary Search Trees in data structures and algorithms?
  • Ans. 

    Binary Search Trees (BST) enable efficient data storage and retrieval through a hierarchical structure, optimizing search operations.

    • A BST is a binary tree where each node has at most two children.

    • For any given node, all values in the left subtree are less, and all values in the right subtree are greater.

    • Searching for a value in a BST has an average time complexity of O(log n).

    • Insertion and deletion operations also mai...

  • Answered by AI
  • Q2. Stock arrange question

Interview Preparation Tips

Interview preparation tips for other job seekers - just be yourself.
dont cheat
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

2 medium leetcode questions were asked

Round 2 - One-on-one 

(2 Questions)

  • Q1. Difference between polymorphism and inheritance
  • Ans. 

    Polymorphism allows methods to do different things based on the object, while inheritance enables classes to share properties and methods.

    • Polymorphism allows for method overriding and overloading.

    • Example of polymorphism: A base class 'Animal' has a method 'sound()', and subclasses 'Dog' and 'Cat' implement it differently.

    • Inheritance allows a class to inherit properties and methods from another class.

    • Example of inherita...

  • Answered by AI
  • Q2. Dsa question related to array
Round 3 - One-on-one 

(2 Questions)

  • Q1. Explain about project
  • Q2. What did you do in you internship
  • Ans. 

    During my internship, I developed software features, collaborated with teams, and gained hands-on experience in coding and debugging.

    • Developed a web application using React and Node.js, improving user experience by 30%.

    • Collaborated with a team of 5 to implement Agile methodologies, resulting in a 20% increase in project efficiency.

    • Participated in code reviews, providing constructive feedback that enhanced code quality.

    • ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare DSA well
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

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

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

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

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

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

  • Answered by AI

Interview Preparation Tips

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

I appeared for an interview in Nov 2024.

Round 1 - Coding Test 

It was codility test with 2 questions

Round 2 - One-on-one 

(1 Question)

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

(1 Question)

  • Q1. Design system like uber eats
  • Ans. 

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

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

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

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

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

(1 Question)

  • Q1. Design system like youtube
  • Ans. 

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

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

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

    • Video Storage: Use c...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Trouble shooting steps
  • Ans. 

    Systematic approach to identify and resolve technical issues in desktop support.

    • Identify the issue: Gather information from the user about the problem.

    • Reproduce the problem: Try to replicate the issue on your own system.

    • Check connections: Ensure all cables and peripherals are properly connected.

    • Review error messages: Analyze any error codes or messages displayed.

    • Update drivers/software: Ensure all relevant software and...

  • Answered by AI
  • Q2. Challenge situation
Round 2 - Technical 

(2 Questions)

  • Q1. Why Microsoft you choose
  • Ans. 

    I chose Microsoft because of its widespread use in the industry and the variety of tools and technologies it offers.

    • Microsoft products are widely used in the industry, giving me valuable experience and skills

    • Microsoft offers a wide range of tools and technologies for desktop support, making it easier to troubleshoot and resolve issues

    • Microsoft certifications are highly recognized and can help advance my career in IT su...

  • Answered by AI
  • Q2. Diversity inclusion related topic

Trainee Interview Questions & Answers

user image Anonymous

posted on 10 Jan 2025

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

Good communiction and technical skill need

Round 2 - Technical 

(2 Questions)

  • Q1. About what is abstraction?
  • Ans. 

    Abstraction is a fundamental concept in programming that simplifies complex systems by hiding unnecessary details.

    • Abstraction allows focusing on high-level functionalities without worrying about implementation details.

    • In object-oriented programming, classes and objects are used to represent real-world entities while hiding their complexities.

    • Example: A car can be driven without knowing how the engine works; the driver ...

  • Answered by AI
  • Q2. Abstraction is process of removing unnessary data

Interview Preparation Tips

Interview preparation tips for other job seekers - easy to crack keep trying and do well
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

LeetCode , hard questions on dynamic programming, graphs, and more.

Round 2 - Coding Test 

DSA, Cn, os, DBMS, ML

Round 3 - One-on-one 

(2 Questions)

  • Q1. Is relocation a possibility for this position?
  • Q2. Senior role is there
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
More than 8 weeks
Result
Not Selected

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

  • Q1. What is python?
  • Ans. 

    Python is a high-level, interpreted programming language known for its readability and versatility in various applications.

    • Easy to learn and use, making it ideal for beginners. Example: Simple syntax like 'print("Hello, World!")'.

    • Supports multiple programming paradigms, including procedural, object-oriented, and functional programming.

    • Rich ecosystem of libraries and frameworks, such as Django for web development and Nu...

  • Answered by AI
  • Q2. What are the pythons built -in data types?
  • Ans. 

    Python has several built-in data types for various data manipulation needs, including numeric, sequence, mapping, and set types.

    • int: Represents integers, e.g., x = 5.

    • float: Represents floating-point numbers, e.g., y = 3.14.

    • str: Represents strings, e.g., name = 'Alice'.

    • list: Ordered, mutable collection, e.g., fruits = ['apple', 'banana'].

    • tuple: Ordered, immutable collection, e.g., coordinates = (10.0, 20.0).

    • dict: Key-va...

  • Answered by AI
  • Q3. What is the difference between tuples and lists?
  • Ans. 

    Tuples are immutable and ordered collections, while lists are mutable and can be modified after creation.

    • Tuples are defined using parentheses: example - tuple_example = (1, 2, 3)

    • Lists are defined using square brackets: example - list_example = [1, 2, 3]

    • Tuples cannot be changed after creation (immutable), while lists can be modified (mutable).

    • Tuples can be used as keys in dictionaries, while lists cannot.

    • Tuples generall...

  • Answered by AI
  • Q4. What is inherentence?
  • Ans. 

    Inheritance is a fundamental concept in OOP that allows a class to inherit attributes and methods from another class.

    • Promotes code reusability by allowing new classes to use existing code.

    • Supports the creation of a hierarchical class structure.

    • Example: A 'Dog' class can inherit from an 'Animal' class, gaining its properties and methods.

    • Allows for method overriding, where a subclass can provide a specific implementation...

  • Answered by AI
  • Q5. What is polymorphism?
  • Ans. 

    Polymorphism allows objects of different classes to be treated as objects of a common superclass, enhancing flexibility in code.

    • Polymorphism is a core concept in Object-Oriented Programming (OOP).

    • It enables methods to do different things based on the object it is acting upon.

    • Example: A function can accept different types of objects and call the same method, which behaves differently for each type.

    • In Python, polymorphis...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Work will hard

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. A file or a directory can be represented as a node. The node has properties lik...read more
  2. You are given infinite sequence of continuos natural numbers-1,2,3,4,5,6.........read more
  3. What are the steps which you will follow if a customer calls and tell you that ...read more
What are the most common questions asked in Microsoft Corporation HR round?

The most common HR questions asked in Microsoft Corporation interview are -

  1. What are your salary expectatio...read more
  2. Why are you looking for a chan...read more
  3. What are your strengths and weakness...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.

Overall Interview Experience Rating

4.3/5

based on 395 interview experiences

Difficulty level

Easy 16%
Moderate 67%
Hard 18%

Duration

Less than 2 weeks 53%
2-4 weeks 26%
4-6 weeks 12%
6-8 weeks 5%
More than 8 weeks 5%
View more

Interview Questions from Similar Companies

Google Interview Questions
4.4
 • 896 Interviews
Oracle Interview Questions
3.7
 • 894 Interviews
Zoho Interview Questions
4.3
 • 537 Interviews
Amdocs Interview Questions
3.7
 • 532 Interviews
SAP Interview Questions
4.2
 • 291 Interviews
Adobe Interview Questions
3.9
 • 247 Interviews
Salesforce Interview Questions
4.0
 • 234 Interviews
24/7 Customer Interview Questions
3.5
 • 179 Interviews
View all

Microsoft Corporation Reviews and Ratings

based on 1.9k reviews

3.9/5

Rating in categories

3.8

Skill development

4.0

Work-life balance

3.8

Salary

3.3

Job security

3.9

Company culture

3.3

Promotions

3.6

Work satisfaction

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

₹24.9 L/yr - ₹44 L/yr

Senior Software Engineer
1.4k salaries
unlock blur

₹37.5 L/yr - ₹75.7 L/yr

Software Engineer2
1.2k salaries
unlock blur

₹33 L/yr - ₹60 L/yr

Software Developer
1.1k salaries
unlock blur

₹23.9 L/yr - ₹40 L/yr

Support Engineer
608 salaries
unlock blur

₹14.4 L/yr - ₹24.7 L/yr

Explore more salaries
Compare Microsoft Corporation with

Google

4.4
Compare

Amazon

4.0
Compare

Deloitte

3.7
Compare

TCS

3.6
Compare
write
Share an Interview