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 211–240 of 252 results
- Print Org Chart by LevelMedium
This problem tests your ability to model a tree structure from flat parent-child relations and perform a level-order traversal to format hierarchical data.
MicrosoftData ScientistCoding & AlgorithmsTechnical Screen This problem tests your ability to aggregate data using window functions to identify top-performing rows within specific groups and perform conditional filtering across joined tables.
MicrosoftData ScientistData Manipulation (SQL/Python)Technical ScreenThis problem tests the ability to model lexicographical constraints as a directed graph and determine if a valid ordering of unique characters exists using topological sorting.
MicrosoftSoftware EngineerSoftware Engineering FundamentalsTechnical ScreenRecover sorted digits from scrambled English number-word letters, including repeats, and analyze why arbitrary customer vocabularies may lose unique recoverability.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteDiscuss technical disagreement and contrasting work styles with fair alternatives, shared evidence, explicit decisions, and practical collaboration changes.
MicrosoftSoftware EngineerBehavioral & LeadershipOnsiteRespond to a post-deployment latency or reliability regression with scoped diagnosis, safe rollback decisions, customer-impact measurement, and prevention.
MicrosoftSoftware EngineerSoftware Engineering FundamentalsOnsiteA resume-driven behavioral interview that walks through a past project in depth: the architecture and technical decisions, what the candidate personally contributed, the hardest challenges, and the measurable impact. It tests ownership, technical judgment and clear, structured storytelling.
MicrosoftSoftware EngineerBehavioral & LeadershipOnsiteThis problem tests your ability to filter data streams and maintain a top-K collection using a priority queue with custom sorting logic.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question tests the ability to implement Kahn's algorithm or a DFS-based approach to perform a topological sort while correctly handling cycle detection.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenReturn the k values that occur most often in an integer array, ranked by frequency with ties broken by the smaller value. It tests frequency counting, selecting the top k efficiently and producing a deterministic order when several values tie at the cutoff.
MicrosoftMachine Learning EngineerCoding & AlgorithmsTechnical ScreenGiven a sorted integer list, a count k and a target value, return the k elements closest to the target in ascending order. The problem tests a precise tie rule that favors smaller values, duplicate values, targets outside the array's range, and working efficiently on already sorted input.
MicrosoftSoftware EngineerCoding & AlgorithmsOtherThis question evaluates proficiency with singly linked list manipulation, pointer/reference management, in-place group operations, and complexity reasoning including time and constant extra space.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to perform spatial transformations on a fixed-size 2D structure while maintaining data integrity across a transformation.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteSQL practice question: given a table of files and their text content, count how many files contain the words bull and bear as standalone, space-delimited words. It tests careful pattern matching, case sensitivity, NULL handling, and returning a row for each word even when its count is zero.
MicrosoftSite Reliability EngineerData Manipulation (SQL/Python)OnsiteA senior software engineer behavioral question asking the candidate to describe one thing they learned recently. It tests curiosity and learning habits, the ability to explain a new concept clearly and accurately with its limits, and whether the learning was applied to real work with a visible result.
MicrosoftSoftware EngineerBehavioral & LeadershipHR ScreenA senior software engineer behavioral question about the hardest challenge or most difficult situation the candidate has handled at work. It tests judgment under uncertainty and pressure, how the problem was diagnosed and prioritized, communication with stakeholders, an honest outcome, and lessons applied afterward.
MicrosoftSoftware EngineerBehavioral & LeadershipHR ScreenCompare vocabulary and hidden-dimension embedding sharding through per-rank storage, token routing, hidden-state layout, skew, and downstream communication.
MicrosoftSoftware EngineerML System DesignOnsiteShard an LM head by vocabulary or hidden width, distinguishing complete logits from partial dot products and exact distributed top-k from full-distribution sampling.
MicrosoftSoftware EngineerML System DesignOnsiteA coding simulation of a throttle wrapper: given a cooldown length and sorted call times, report which calls actually run and when, where calls arriving during a cooldown keep only the latest one pending. It tests precise event ordering, an explicit rule for calls at the exact moment a cooldown ends, and an efficient single pass.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteGiven a binary image stored as a matrix of 0s and 1s, return the size of every region of horizontally or vertically connected foreground pixels, ordered by when each region is first reached in a top-to-bottom, left-to-right scan. It tests grid traversal, connected components, and handling a single region that covers up to a million pixels.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to manipulate sorted data, optimize for mathematical properties, and implement efficient data structures for string prefix operations.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to design a system with O(1) time complexity for cache operations and time-window-based request tracking.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates a candidate's ability to apply algorithmic optimization by using binary search instead of dynamic programming for a knapsack-style selection problem and to construct and compute shortest paths on a weighted graph from custom input.
MicrosoftSoftware EngineerCoding & AlgorithmsOnline AssessmentThis question evaluates proficiency with tree data structures and level-order traversal semantics for reverse level printing, as well as string algorithmic reasoning and dynamic programming concepts for computing the longest palindromic subsequence, categorized under Coding & Algorithms.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates algorithmic design and data-structure selection for efficient preprocessing and query answering, along with shortest-path computation and graph representation choices, testing complexity analysis, large-input handling, path reconstruction, and edge-case reasoning in the Coding & Algorithms domain.
MicrosoftSoftware EngineerCoding & AlgorithmsOnline AssessmentThis problem tests your ability to implement an LRU cache, solve a dynamic programming problem on a grid with constraints, and optimize string searching using the sliding window technique.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis set evaluates proficiency in core algorithms and data structures: tree traversal and order manipulation (zigzag level-order), dynamic programming and subsequence reasoning (longest palindromic subsequence), numeric algorithms and search/approximation (integer square root), and positional numeral systems/base conversion (spreadsheet column to number). These problems are commonly asked to assess algorithmic thinking, complexity analysis, and handling of edge cases in the Coding & Algorithms domain, testing both conceptual understanding of underlying principles and practical application of implementation techniques.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates algorithm design, correctness proof, and complexity analysis skills by combining a contiguous partitioning load‑balancing optimization with a combinatorial/number‑theoretic pair‑counting problem.
MicrosoftSoftware EngineerCoding & AlgorithmsOnline AssessmentThis problem tests your ability to optimize minimal operations using bitwise properties and to determine the existence of a specific graph traversal path.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis multi-part question evaluates algorithmic problem-solving skills across task scheduling with cooldowns, in-place array deduplication, and string rearrangement to avoid adjacent duplicates, highlighting concepts such as frequency counting, scheduling constraints, and two-pointer or in-place techniques within the Coding & Algorithms domain.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsite
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
