Skip to main content

Top Microsoft Interview Questions

Review this list of 263 Microsoft interview questions and answers verified by hiring managers and candidates.
  • Microsoft logoAsked at Microsoft 
    1 answer

    "While working as a consultant, I was assigned to a project to design and build a solution for accessing and managing documents on deepwater drilling wells with limited connectivity. I and the developer assigned to the project conducted interviews with various engineers and team members on the rigs. We worked with the client's IT group to analyze options for getting content to and from the rig. Together, we came up with a solution that would leverage their existing SharePoint infrastructure (avai"

    John F. - "While working as a consultant, I was assigned to a project to design and build a solution for accessing and managing documents on deepwater drilling wells with limited connectivity. I and the developer assigned to the project conducted interviews with various engineers and team members on the rigs. We worked with the client's IT group to analyze options for getting content to and from the rig. Together, we came up with a solution that would leverage their existing SharePoint infrastructure (avai"See full answer

    Product Manager
    Behavioral
  • Microsoft logoAsked at Microsoft 
    10 answers
    +7

    " import java.util.HashMap; import java.util.Map; class Solution { static TreeNode buildTree(int[] preOrder, int[] inOrder) { Map map = new HashMap(); for(int i = 0; i < inOrder.length; i++) { map.put(inOrder[i], i); } return construct(inOrder, 0, inOrder.length - 1,preOrder, 0, preOrder.length - 1, map); } static TreeNode construct(int[] inOrder, int startIn, int endIn, int[] preOrder, int startPre, int"

    Basil A. - " import java.util.HashMap; import java.util.Map; class Solution { static TreeNode buildTree(int[] preOrder, int[] inOrder) { Map map = new HashMap(); for(int i = 0; i < inOrder.length; i++) { map.put(inOrder[i], i); } return construct(inOrder, 0, inOrder.length - 1,preOrder, 0, preOrder.length - 1, map); } static TreeNode construct(int[] inOrder, int startIn, int endIn, int[] preOrder, int startPre, int"See full answer

    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Microsoft logoAsked at Microsoft 
    1 answer

    "Assumptions and Clarification! What kind of blind person are we talking about ? Are they partially blind? Color Blind? Can Detect Light ? Can See blurry Images? Is the Blind person an adult, elderly or a teenager? Do they have any additional disabilities? Where will this Iron be used? At home? or perhaps one for travel? Do we have any limitation of resources? Assumptions- We are talking about a Complete Blind person who cannot see anything at all i.e Zero ability to se"

    Prabhav G. - "Assumptions and Clarification! What kind of blind person are we talking about ? Are they partially blind? Color Blind? Can Detect Light ? Can See blurry Images? Is the Blind person an adult, elderly or a teenager? Do they have any additional disabilities? Where will this Iron be used? At home? or perhaps one for travel? Do we have any limitation of resources? Assumptions- We are talking about a Complete Blind person who cannot see anything at all i.e Zero ability to se"See full answer

    Product Manager
  • Microsoft logoAsked at Microsoft 
    1 answer

    "I would like to appreciate the company for giving an opportunity to visually impaired colleague and also making appropriate arrangements for enabling them to deliver their responsibilities smoothly. When I become aware of a teammate who is blind, I would start with the following steps - Understanding the degree of disability they have and doing my own research on how can one interact with such colleagues and facilitate smooth coordination with them I would approach them and ask as to how c"

    Khushboo S. - "I would like to appreciate the company for giving an opportunity to visually impaired colleague and also making appropriate arrangements for enabling them to deliver their responsibilities smoothly. When I become aware of a teammate who is blind, I would start with the following steps - Understanding the degree of disability they have and doing my own research on how can one interact with such colleagues and facilitate smooth coordination with them I would approach them and ask as to how c"See full answer

    Product Manager
    Behavioral
  • Microsoft logoAsked at Microsoft 
    1 answer

    "Clarifying questions: Are we taking about a personal parking lot or a public parking lot Do we have an objective in head for this lot -> Make money? Public parking lot from govt body Do we have a particular location in head for this -> basement, outside some building or on the roof Are we particular about the number of vehicles it can take up? Are we particular about the kind of vehicles that it can take up? (2 wheelers, 4 wheelers, heavy weight 4 wheelers) Taking a few assumptions:"

    Anubhav A. - "Clarifying questions: Are we taking about a personal parking lot or a public parking lot Do we have an objective in head for this lot -> Make money? Public parking lot from govt body Do we have a particular location in head for this -> basement, outside some building or on the roof Are we particular about the number of vehicles it can take up? Are we particular about the kind of vehicles that it can take up? (2 wheelers, 4 wheelers, heavy weight 4 wheelers) Taking a few assumptions:"See full answer

    Product Manager
    Product Design
    +1 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • "From my understanding there are many music apps focused on providing various services such as streaming, learning musical instruments, and collaboration among musicians. However,, there seems to be a gap in the area of emerging musicians getting discovered by producers or talent scouts. Considering this gap, we could design an app, “ StageLite ”, which allows budding musicians to upload clips of their performances. These can then be evaluated and rated by a community of users who can upvote good"

    Guna shekhar reddy B. - "From my understanding there are many music apps focused on providing various services such as streaming, learning musical instruments, and collaboration among musicians. However,, there seems to be a gap in the area of emerging musicians getting discovered by producers or talent scouts. Considering this gap, we could design an app, “ StageLite ”, which allows budding musicians to upload clips of their performances. These can then be evaluated and rated by a community of users who can upvote good"See full answer

    Product Design
  • Microsoft logoAsked at Microsoft 
    1 answer

    "I'm currently a School Bus Monitor at First Student, I make sure that the students on the bus are seated down, making sure they are safe during the bus ride. Sometimes depending on the day they may need me to help do a wheelchair so I sometimes help the driver out with making sure the wheelchair is safely secure, hooking up the 4 hooks on the wheelchair, putting the lap belt on the student and also making sure the student feels comfortable during the bus ride. After we finished dropping off our"

    Amparo L. - "I'm currently a School Bus Monitor at First Student, I make sure that the students on the bus are seated down, making sure they are safe during the bus ride. Sometimes depending on the day they may need me to help do a wheelchair so I sometimes help the driver out with making sure the wheelchair is safely secure, hooking up the 4 hooks on the wheelchair, putting the lap belt on the student and also making sure the student feels comfortable during the bus ride. After we finished dropping off our"See full answer

    Software Engineer
    Behavioral
    +5 more
  • Microsoft logoAsked at Microsoft 
    1 answer

    "i'm going to Structure my answer like this: make sure we both are on the same page by asking Qs Users and their use cases/pain points Prioritise the use cases Brainstorm some solution Priritize the solutions + Trade offs Metrics define success Clarifying Qs: Who are we? ==> MicroSoft team who designs physical product Whiteboard so==> mething where people can write/draw to present/explain/workout Office==> workplace. Not schools/univ Smart ==> It understands most o"

    Suhasan C. - "i'm going to Structure my answer like this: make sure we both are on the same page by asking Qs Users and their use cases/pain points Prioritise the use cases Brainstorm some solution Priritize the solutions + Trade offs Metrics define success Clarifying Qs: Who are we? ==> MicroSoft team who designs physical product Whiteboard so==> mething where people can write/draw to present/explain/workout Office==> workplace. Not schools/univ Smart ==> It understands most o"See full answer

    Product Design
  • Technical
  • Microsoft logoAsked at Microsoft 
    Add answer
    Product Manager
    Product Strategy
  • Microsoft logoAsked at Microsoft 
    2 answers

    "The rule doesn't work the other way around. If the array is smaller than n, it can still have duplicates. Eg: n=10 , arr = [3,3]"

    Murali M. - "The rule doesn't work the other way around. If the array is smaller than n, it can still have duplicates. Eg: n=10 , arr = [3,3]"See full answer

    Machine Learning Engineer
    Data Structures & Algorithms
    +2 more
  • Microsoft logoAsked at Microsoft 
    1 answer

    "1. What is an LFU Cache? An LFU (Least Frequently Used) cache is a memory management system with a fixed capacity. It tracks how often items are accessed and evicts the least popular items when it runs out of space. It has one critical rule and one tie-breaker rule: The Core Rule: When the cache is full and you need to add a new item, you must kick out the item with the lowest access frequency. The Tie-Breaker (LRU): If multiple items share that same lowest frequency"

    Rama A. - "1. What is an LFU Cache? An LFU (Least Frequently Used) cache is a memory management system with a fixed capacity. It tracks how often items are accessed and evicts the least popular items when it runs out of space. It has one critical rule and one tie-breaker rule: The Core Rule: When the cache is full and you need to add a new item, you must kick out the item with the lowest access frequency. The Tie-Breaker (LRU): If multiple items share that same lowest frequency"See full answer

    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Microsoft logoAsked at Microsoft 
    1 answer

    "Understand who will use the kitchen is the first step"

    Anonymous Impala - "Understand who will use the kitchen is the first step"See full answer

    Technical Program Manager
    Product Design
    +1 more
  • "Clarify: Is this an app that we want to house within the FB ecosystem, or will this be a standalone app? When we say food delivery, do we mean meals that are ready to eat? Groceries? Convenience store items? Assumptions: Let's make some assumptions here: App will not be housed in with FB ecosystem. This is not even an app associated with FB. Food delivery will be defined as delivering meal(s) that are ready to eat when you receive them **Goal: Take on the incumbents by addressi"

    Jonathan O. - "Clarify: Is this an app that we want to house within the FB ecosystem, or will this be a standalone app? When we say food delivery, do we mean meals that are ready to eat? Groceries? Convenience store items? Assumptions: Let's make some assumptions here: App will not be housed in with FB ecosystem. This is not even an app associated with FB. Food delivery will be defined as delivering meal(s) that are ready to eat when you receive them **Goal: Take on the incumbents by addressi"See full answer

    Product Manager
    Product Design
  • Microsoft logoAsked at Microsoft 
    Add answer
    Product Manager
    Product Design
  • Microsoft logoAsked at Microsoft 
    2 answers

    "Sorted the array and stored the minimum difference in a variable and then traversed the array for the pairs having minimum difference"

    Aashka C. - "Sorted the array and stored the minimum difference in a variable and then traversed the array for the pairs having minimum difference"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Microsoft logoAsked at Microsoft 
    2 answers

    "depends on. weather they want to persue any goal which is aligned with current scnerio"

    Graig - "depends on. weather they want to persue any goal which is aligned with current scnerio"See full answer

    Engineering Manager
    Behavioral
    +1 more
  • Microsoft logoAsked at Microsoft 
    Add answer
    Technical
  • Microsoft logoAsked at Microsoft 
    1 answer

    "I first clarified what he needed for the leaderboard meaning did he need a gaming leaderboard system, a stock market leaderboard system where the trades placed would be ranked in terms of values or a coding platform leaderboard where the users are ranked as per the points earned by solving the problem? He answered that he wanted a multipurpose leaderboard system He was specifically interested in the design of the api part Explained him that assuming we had a flask api there would be a get re"

    GalacticInterviewer - "I first clarified what he needed for the leaderboard meaning did he need a gaming leaderboard system, a stock market leaderboard system where the trades placed would be ranked in terms of values or a coding platform leaderboard where the users are ranked as per the points earned by solving the problem? He answered that he wanted a multipurpose leaderboard system He was specifically interested in the design of the api part Explained him that assuming we had a flask api there would be a get re"See full answer

    Software Engineer
    System Design
  • Microsoft logoAsked at Microsoft 
    Add answer
    Software Engineer
    Data Structures & Algorithms
    +1 more
Showing 121-140 of 263
Exponent

Get updates in your inbox with the latest tips, job listings, and more.

Follow Us

Products
Courses
Interview Questions
Interview Experiences
Popular articles
Guides
Coaching
For Partners
Company
Exponent © 2026
Terms of Service | Privacy