Company
Microsoft interview questions
252 practice questions in the style of Microsoft's interviews, covering Behavioral & Leadership, Coding & Algorithms, Product Design & Strategy, Machine Learning, ML System Design, Statistics & Math, Software Engineering Fundamentals, Data Manipulation (SQL/Python), System Design, Analytics & Experimentation, Product / Decision Making.
21 easy197 medium34 hard
Microsoft interview questions by the numbers
Last updated
Katkat has 252 Microsoft interview questions. The largest topics are Coding & Algorithms (44%), System Design (17%) and Behavioral & Leadership (11%). By difficulty: 8% easy, 78% medium and 13% hard. The most common round is Onsite (51%). Frequent concepts include System Design, Concurrency, Scalability and Distributed Systems.
Topics
- Coding & Algorithms44% · 111
- System Design17% · 43
- Behavioral & Leadership11% · 28
- Machine Learning6% · 15
- ML System Design5% · 13
Difficulty
- Easy8% · 21
- Medium78% · 197
- Hard13% · 34
Interview rounds
- Onsite51% · 128
- Technical Screen34% · 86
- Online Assessment8% · 20
- HR Screen4% · 11
- Other3% · 7
Roles
- Software Engineer72% · 181
- Data Scientist11% · 28
- Machine Learning Engineer10% · 24
- Product Manager3% · 7
- Site Reliability Engineer2% · 6
Frequent concepts
- System Design9% · 23
- Concurrency6% · 15
- Scalability6% · 14
- Distributed Systems4% · 11
- Arrays4% · 10
- Data Structures4% · 10
Most mentioned in interview experiences
- 1.Choose Classification Metrics Under Asymmetric Costs2 reports
- 2.Explain SHAP in an ML System2 reports
- 3.Implement a Thread-Safe Per-Key Ordered Executor2 reports
- 4.Resume Deep Dive: Technical Decisions, Personal Contribution, Challenges, Impact2 reports
- 5.Adapt When Project Requirements Change Midway1 report
- 6.Answer Running Median Queries Over a Stream of Inserted Integers1 report
- 7.Behavioral: a problem that stumped you, your peers and AI tools, and how you solved it1 report
- 8.Behavioral: Delivering Under a Tight Deadline and Handling a Difficult Situation1 report
- 9.Behavioral: Long Blockers, Missed Deadlines or User Complaints, and Career Direction1 report
- 10.Bucket Words That Are Letter Rearrangements of One Another1 report
Counted from 35 candidate interview experiences on Katkat. How we collect and count
Showing 1–30 of 252 results
Explain a mid-project requirement change through concrete first steps, personal ownership, alternatives, scope trade-offs, and revised acceptance criteria.
MicrosoftSoftware EngineerBehavioral & LeadershipOnsiteA coding problem that processes a stream of add and median operations and returns, for every query, the median of all integers inserted so far. It tests choosing data structures that keep the middle of a growing collection quickly accessible, plus correct averaging when the count is even.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to model a dependency system as a directed graph and identify if a valid order exists using cycle detection (Kahn's Algorithm or DFS).
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to optimize range frequency queries using precomputation and efficient data structures, specifically focusing on suffix-based constraints.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates proficiency in string manipulation, sequence assembly, and labeled-graph path reconstruction—skills involved in ordering fragments by matching start/end tags and concatenating payloads—and it belongs to the Coding & Algorithms domain.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to handle partial reads from an asynchronous stream and correctly parse length-prefixed binary data structures.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteA product strategy question for a Microsoft product manager interview about winning more startups for Azure. It tests how a candidate defines success beyond sign-ups, picks a startup segment, diagnoses where Azure loses founders, and prioritizes offerings that use Microsoft's distinctive assets, with metrics and guardrails.
MicrosoftProduct ManagerProduct Design & StrategyOtherPractice Microsoft Product Manager behavioral and leadership fit questions covering self-introduction, proud project, motivation, PM responsibility, career plan, engineering partnership, communication, product process, deadline risk, failure, stress, teamwork, and change management.
MicrosoftProduct ManagerBehavioral & LeadershipOnsitePractice Microsoft Product Manager behavioral interviews covering collaboration, customer obsession, measuring impact, and influence without authority. The solution uses STAR-L examples, metric trees, experimentation methods, stakeholder mapping, trade-offs, and common pitfalls.
MicrosoftProduct ManagerBehavioral & LeadershipOnsiteA senior behavioral question in two parts: describe delivering an important project against a tight deadline, then a difficult work situation and how you handled it. It tests prioritization, scope negotiation, stakeholder communication, ownership of decisions, and composure under pressure.
MicrosoftSoftware EngineerBehavioral & LeadershipOnsiteBehavioral and career questions from a software engineering onsite: a time you were blocked for a long time, a project that missed its deadline or drew many user complaints, and your current focus, reasons for moving and future technical direction. It tests ownership, communication and a coherent career story.
MicrosoftSoftware EngineerBehavioral & LeadershipOnsiteBehavioral question on hard problem solving: describe a problem that stumped you, your peers and the AI tools you tried, and how you got past it. It tests systematic debugging under uncertainty, judgment about where tools and colleagues fall short, resourcefulness, and turning the fix into lasting team knowledge.
MicrosoftSite Reliability EngineerBehavioral & LeadershipOnsiteA coding exercise that partitions a list of lowercase words into groups whose members use exactly the same letters with the same counts, returned in a fixed canonical order. It tests efficient grouping over up to ten thousand words, handling duplicates and empty strings, and producing deterministic sorted output.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsite- Build a CSV Query EngineMedium
This problem tests your ability to parse structured text, perform basic type inference, and implement a filtering mechanism for tabular data.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical Screen Tests end-to-end applied machine learning design on tabular data: framing the prediction target, eliminating data leakage, establishing a leakage-free validation strategy, selecting baselines and evaluation metrics, and planning deployment monitoring and rollback.
MicrosoftData ScientistMachine LearningOnsiteThis question tests the ability to design an end-to-end system for enforcing strict structured formatting (e.g., Docx/Markdown) on LLM-generated text, focusing on constraint enforcement and reliability.
MicrosoftMachine Learning EngineerML System DesignOnsiteCheck whether a singly linked list is a palindrome in O(n) time and O(1) pointer space without leaving it modified. Practice finding the midpoint, reversing the second half, comparing values, and restoring every link before return.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis question tests string manipulation, edge-case handling, and algorithmic efficiency in generating the smallest palindrome greater than a given numeric string.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question tests your ability to manipulate digits of an integer to identify palindromes and efficiently construct the smallest palindrome greater than a given number.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates understanding of binary classification evaluation metrics and model-operating decisions, covering confusion-matrix-derived measures (precision, recall/sensitivity, specificity, false positive/negative rates), summary metrics (ROC-AUC, PR-AUC), Type I/II errors, threshold selection, prevalence drift, probability calibration, and cost-sensitive trade-offs. It is commonly asked to assess a data scientist's ability to reason about model performance under class imbalance and asymmetric business costs, and it belongs to the Statistics & Math / Machine Learning model-evaluation domain requiring both conceptual understanding and practical application.
MicrosoftData ScientistStatistics & MathTechnical ScreenThis problem tests your understanding of concurrency control by asking you to design a locking strategy for a multi-threaded key-value store, focusing on the trade-offs between throughput and latency.
MicrosoftSoftware EngineerSoftware Engineering FundamentalsTechnical ScreenThis problem tests the ability to design an automated pipeline for cleaning noisy OCR text output and preparing it for supervised fine-tuning of an LLM.
MicrosoftMachine Learning EngineerMachine LearningOnsiteA behavioral question about collaborating with teammates spread across regions and time zones and with teammates who work from home, followed by a request for a story that shows how you collaborate. It tests asynchronous communication, inclusive hybrid practices, and a concrete personal contribution.
MicrosoftSoftware EngineerBehavioral & LeadershipOnsiteThis question evaluates understanding of deep learning architectures (CNN, RNN, LSTM) and unsupervised clustering implementation (K-means), covering inductive biases, parameter sharing and receptive fields, LSTM gating and vanishing-gradient behavior, tensor shape reasoning, algorithmic complexity, initialization, and cluster handling.
MicrosoftData ScientistMachine LearningOnsiteThis question tests your conceptual understanding of alignment techniques, your ability to evaluate trade-offs between stability and performance, and your approach to measuring model safety and utility.
MicrosoftMachine Learning EngineerMachine LearningOnsiteThis question evaluates understanding of Bayes' rule and conditional probability by requiring computation of the posterior probability that a particular bag was chosen given a red draw.
MicrosoftData ScientistStatistics & MathTechnical ScreenThis question evaluates understanding of binary classification evaluation metrics—precision, recall, precision–recall curves, and related summaries like Average Precision/AUPRC—within the Machine Learning domain and is relevant for Data Scientist roles.
MicrosoftData ScientistMachine LearningTechnical ScreenThis question evaluates array-processing skills, competency with next-smaller-or-equal element patterns, and the ability to compute aggregated results under ordering constraints.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates a candidate's ability to perform weighted aggregation, data cleaning, tie-breaking logic, and handling of malformed or missing text fields using SQL and/or Python.
MicrosoftSoftware EngineerData Manipulation (SQL/Python)Technical ScreenThis question evaluates understanding of binary classification evaluation metrics (precision and recall) and competency in handling unreliable API behavior for robust metric computation, testing both conceptual understanding and practical application.
MicrosoftMachine Learning EngineerSoftware Engineering FundamentalsTechnical Screen
Microsoft interview experiences
All 55 →- A Screen and Four Hiring-Event RoundsMicrosoft · Software Engineer · Senior+ · Onsite · Sep 2026
The report describes a senior software engineering interview for Microsoft’s Intelligent Conversation and Communications Cloud organization. A technical screen in late August preceded a four-round hiring event in mid-September. The screen combined a three-number sum problem with a question about resolving disagreement. The first event round examined a thread-safe executor that preserves task orde…
- Four Rounds in One Day, Not SelectedMicrosoft · Software Engineer · Onsite · Sep 2026Rejected
The JD said the role is in Windows + Devices, with two teams, WSSI and AI Trust. The interviewer said the role mainly works on privacy and compatibility. There were 5 interviews in total: The first one was a CV + technical questions round, but I think they only asked about my resume and BQ. Then four rounds, all scheduled on the same day. Round 1: BQ + Coding Why Microsoft and why this role The t…
- SDE-2 Loop with an AI-Assisted Design Round and a Linux cp Deep DiveMicrosoft · Software Engineer · Onsite · Sep 2026
Round 1 The first problem was a variant of Longest Repeating Character Replacement. We discussed both the brute-force and the optimal solution in the interview, and I implemented it. The second problem was a Medium-difficulty tree traversal question. We also discussed some basic DSA concepts. Round 2 Design a notification system for Windows that lets different applications generate and display no…
- 25 Minutes to Hand-Code a Concurrent Task ExecutorMicrosoft · Software Engineer · Senior+ · Technical Screen · Aug 2026
I applied pretty randomly online, and HR reached out to schedule an interview for yesterday afternoon. I went in with a "just watching the show" mindset, and honestly the whole experience was terrible — basically a setup for failure. If I'd actually been seriously job hunting, this would have driven me insane. First, it was a one-hour technical phone screen, and half an hour of that went into goi…
- A 90-Minute OA and Only Time for Brute ForceMicrosoft · Software Engineer · Online Assessment · Aug 2026
The latest OA: 90 minutes, two questions, with AI hints for the second question. I only managed to write a brute-force solution for the second one. It probably needed DP, but I ran out of time. 2571 You are given an integer array requiredSum of length n. Build an array result of length n that satisfies all of these conditions: result is non-decreasing: result[i] ≤ result[i + 1] for every valid i.…
More companies
- Meta666
- Amazon653
- Google486
- OpenAI342
- Capital One268
- DoorDash241
- Anthropic225
- Uber217
- Apple177
- TikTok176
- Pinterest161
- ByteDance160
- LinkedIn154
- Stripe139
- Snowflake130
- Databricks122
- Airbnb112
- Rippling106
- Oracle104
- Coinbase99
- Netflix97
- NVIDIA95
- Snapchat94
- Citadel90
- Waymo90
- Instacart87
- Roblox84
- Salesforce77
- Optiver76
- Shopify63
- Robinhood60
- Atlassian55
- Hudson River Trading55
- Two Sigma55
- J.P. Morgan53
- PayPal53
- xAI53
- Lyft52
- Tesla52
- Other51
