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 121–150 of 252 results
This question evaluates object-oriented design and API release engineering competencies, covering identification of core domain objects, separation of orchestration from business rules, testability and extensibility of backend logic, and safe modification of public APIs including backward compatibility, versioning, testing, rollout, monitoring, and client communication, and it is categorized under Software Engineering Fundamentals. It is commonly asked because employers need assurance that engineers can both conceptually design maintainable, extensible systems and practically apply release processes and testing strategies to evolve public interfaces without disrupting clients.
MicrosoftSoftware EngineerSoftware Engineering FundamentalsTechnical ScreenExplain a platform’s evolution, your exact ownership, the trade-offs behind changes, and a concrete, professional motivation for the next role.
MicrosoftSoftware EngineerBehavioral & LeadershipOnsiteThis question tests your understanding of language runtimes, memory management strategies, and the trade-offs between managed environments like Python and JVM-based languages like Java.
MicrosoftSoftware EngineerSoftware Engineering FundamentalsOnsiteThis question tests your conceptual understanding of SHAP values for model interpretability and your ability to design a robust, end-to-end machine learning pipeline for a real-world business problem.
MicrosoftData ScientistMachine LearningTechnical ScreenThis question evaluates a data scientist's competence in designing and operationalizing end-to-end machine learning systems in the Machine Learning domain, covering problem framing, label and feature design, model selection, evaluation, deployment, monitoring, and model interpretability using SHAP.
MicrosoftData ScientistMachine LearningTechnical ScreenThis question evaluates understanding of Transformer architectures and practical LLM deployment competencies, covering attention mechanisms, token and positional representations, computational complexity, and production concerns like latency, cost, quality, safety, and privacy.
MicrosoftMachine Learning EngineerML System DesignTechnical Screen- Explain a project deeplyMedium
This question assesses the candidate's depth of ownership over a previous machine learning project, specifically testing their ability to articulate system design choices, technical trade-offs, and operational resilience.
MicrosoftMachine Learning EngineerSoftware Engineering FundamentalsOnsite This question evaluates understanding of deadlocks, concurrency control, and resource synchronization in concurrent programming, testing competency in identifying the necessary conditions for deadlock, analyzing concrete scenarios including circular waits, and considering engineering approaches for prevention, detection, and recovery.
MicrosoftSoftware EngineerSoftware Engineering FundamentalsTechnical ScreenThis question evaluates understanding of hash map internals and related competencies in data structures, algorithmic complexity, and concurrent programming within the Software Engineering Fundamentals domain, covering collision handling, load factor and resizing, deletion semantics, worst-case behavior, iteration order, and thread-safety concerns.
MicrosoftSoftware EngineerSoftware Engineering FundamentalsOnline AssessmentThis question evaluates understanding of classification evaluation metrics, regularization methods, and experimental design for component-level analysis in NLP and broader Machine Learning systems, testing competencies in performance measurement, regularization trade-offs, and causal attribution of model components.
MicrosoftMachine Learning EngineerMachine LearningTechnical ScreenThis question evaluates ownership, debugging, and operational competence for low-level infrastructure components such as storage, distributed systems, and other reliability-critical infra, emphasizing reliability/performance goals, incident investigation, trade-off reasoning, and executional ownership.
MicrosoftSoftware EngineerBehavioral & LeadershipTechnical ScreenExplain a complex engineering project through personal ownership, constraints, alternatives, execution challenges, measurable evidence, and lessons learned.
MicrosoftSoftware EngineerBehavioral & LeadershipOnsiteA coding question that asks for the fewest distinct values whose complete deletion removes at least half of an integer array. It tests reasoning about how often each value occurs, proving that a choice is minimal, and the exact meaning of half when the array length is odd.
MicrosoftApplied ScientistCoding & AlgorithmsOnsiteThis question tests the ability to efficiently find the K largest elements in an unsorted array while managing time complexity constraints through heap-based or selection-based algorithms.
MicrosoftMachine Learning EngineerCoding & AlgorithmsTechnical ScreenFind unique zero-sum triplets with distinct indices, deterministic ordering, careful duplicate suppression, and explicit time and space analysis.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates understanding of permutations, array range reasoning, index mapping, and efficient algorithm design for detecting contiguous subarrays that exactly contain the prefix set {1..k}.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates a candidate's ability to manipulate relational data and reason about graph reciprocity, specifically testing SQL query formulation, aggregation, deduplication, and indexing for performance in the Data Manipulation (SQL/Python) domain.
MicrosoftData ScientistData Manipulation (SQL/Python)Technical ScreenThis problem tests your ability to use the sliding window technique combined with a hash map to efficiently find a maximal subarray meeting a specific constraint.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates understanding of tree data structures and the lowest common ancestor concept, contrasting use of binary search tree ordering with the general binary tree case while requiring algorithmic time and space complexity reasoning in the Coding & Algorithms domain.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates algorithmic problem-solving with arrays, including reasoning about contiguous subsequences, handling sorted inputs and edge cases, and analyzing time and space complexity.
MicrosoftSoftware EngineerCoding & AlgorithmsOnline AssessmentThis problem tests your ability to identify cycles within a weighted directed graph and compute the ratio of cycle cost to node count efficiently.
MicrosoftSoftware EngineerCoding & AlgorithmsOnline AssessmentThis question evaluates array manipulation, sorting-based reasoning, and the ability to generate ordered value pairs that reflect minimum absolute differences while handling ordering and duplicates.
MicrosoftMachine Learning EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates proficiency in string processing, frequency management, and algorithmic optimization for locating constrained contiguous substrings. Commonly asked in the coding & algorithms domain because it reveals how candidates reason about character distinctness and efficiency trade-offs, it targets practical application of algorithmic techniques rather than purely conceptual theory.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteCompute the maximum weight connected subgraph containing each node in a tree with +1 and -1 neuron weights using rerooting dynamic programming.
MicrosoftSoftware EngineerCoding & AlgorithmsOnline AssessmentTests code review, debugging, and refactoring skills by identifying flaws in an AI-generated in-memory URL shortener and implementing a robust, thread-safe replacement.
MicrosoftSoftware EngineerSoftware Engineering FundamentalsTechnical ScreenThis problem tests the ability to leverage the Binary Search Tree (BST) property to efficiently locate the Lowest Common Ancestor (LCA) of two nodes.
MicrosoftMachine Learning EngineerCoding & AlgorithmsHR ScreenThis problem tests tree traversal techniques and recursion logic to identify the deepest node that is an ancestor to two specified nodes in an arbitrary binary tree.
MicrosoftMachine Learning EngineerCoding & AlgorithmsHR ScreenDetermine the most frequently visited track position given a series of sprint endpoints by efficiently tallying overlapping intervals.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteCoding practice question: two singly linked lists that may merge into a shared tail are given as sequences of node ids, and you must return the id of the node where they first meet, or -1. It tests reasoning about linked list structure, linear-time traversal, and edge cases such as no shared node or one list being the other's tail.
MicrosoftSite Reliability EngineerCoding & AlgorithmsOnsiteA coding question on decoding a sequence from a next-token probability distribution: implement greedy decoding, extend it to beam search that keeps the top k partial sequences, and return the chosen sequence with its overall probability. It also probes why long sequences tend to receive low probability and how decoding should account for that.
MicrosoftSoftware EngineerMachine LearningTechnical 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
