Katkat

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.

Questions252

21 easy197 medium34 hard

Your progress0/252

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.

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

Showing 31–60 of 252 results

  • This problem tests your ability to manipulate array prefixes and suffixes to compute aggregate values efficiently without using the division operator, while handling constraints like modular arithmetic.

    MicrosoftSoftware EngineerCoding & AlgorithmsOnline Assessment
  • This question tests the ability to implement a shortest-path algorithm in a directed graph that may contain cycles, specifically evaluating the selection between Dijkstra's algorithm and Bellman-Ford based on edge weight constraints.

    MicrosoftSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Compute sum of longest positive subarray evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    MicrosoftSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Convert an eight-digit hexadecimal address to network-order dotted IPv4 with strict validation, optional prefixes, and correct high-bit handling.

    MicrosoftSoftware EngineerCoding & AlgorithmsOnsite
  • Tests string traversal, run-length grouping, and recognizing how adjacent homogeneous blocks contribute to valid balanced substrings.

    MicrosoftSoftware EngineerCoding & AlgorithmsOnline Assessment
  • Count non-decreasing arrays whose values are at most 5000 and match specified decimal digit sums, returning the total modulo 1000000007.

    MicrosoftSoftware EngineerCoding & AlgorithmsOnline Assessment
  • This problem tests your ability to use a monotonic stack and a hash map (or frequency array) to efficiently answer suffix queries about the occurrences of the maximum value.

    MicrosoftSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates understanding of number theory and algorithmic problem-solving, focusing on Diophantine equation manipulation, divisor counting, and translating algebraic constraints into combinatorial counts.

    MicrosoftSoftware EngineerCoding & AlgorithmsOnline Assessment
  • This question evaluates number-theoretic reasoning and understanding of arithmetic progressions, focusing on how sums of consecutive positive integers can be characterized and counted.

    MicrosoftSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates combinatorics and constrained counting skills, including reasoning about digit-sum properties, monotonic sequences, modular arithmetic, and efficient algorithm design within the Coding & Algorithms domain.

    MicrosoftSoftware EngineerCoding & AlgorithmsTechnical Screen
  • A coding exercise that counts the separate land regions in a grid map of land and water cells, where land cells connect only through shared edges. It tests systematic exploration of a two-dimensional grid, correct neighbor handling at borders and corners, and scaling to large grids where one region may cover everything.

    MicrosoftSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates text-processing and algorithmic engineering skills, specifically precise tokenization rule definition, robust handling of Unicode and punctuation, streaming/large-file processing, unit testing for corner cases, and analysis of time and space complexity.

    MicrosoftSoftware EngineerData Manipulation (SQL/Python)Onsite
  • Practice answering a PM behavioral prompt about cross-team leadership, engineering conflict, and customer-centric course correction. The model STARL response shows how to align multiple teams, resolve delivery trade-offs, respond to missed customer expectations, quantify impact, and explain learning.

    MicrosoftProduct ManagerBehavioral & LeadershipHR Screen
  • An AI-assisted debugging exercise set in a multi-file A/B testing analytics codebase with five reported issues, centered on a numerical underflow that makes a sequential test stall on large experiments. It tests triage under a time limit, numerical root-cause analysis, and judging when an AI agent's proposed fix is wrong.

    MicrosoftSoftware EngineerSoftware Engineering FundamentalsOnsite
  • This question evaluates a candidate's competency in diagnosing performance regressions in distributed systems and understanding of observability signals, latency and throughput trade-offs, and cross-component interactions within the Software Engineering Fundamentals domain.

    MicrosoftSoftware EngineerSoftware Engineering FundamentalsOnline Assessment
  • This problem tests your understanding of the JSON Web Token (JWT) structure and your ability to manually implement Base64URL decoding and JSON deserialization in a constrained environment.

    MicrosoftSoftware EngineerCoding & AlgorithmsOnsite
  • Implement your own doubly linked list whose nodes also carry a special pointer to any node in the list, then write a deep clone without using a built-in list type or adding fields to the node class. It tests pointer handling, mapping nodes by identity, edge cases such as null or self pointers, and proving the copy is fully independent.

    MicrosoftSoftware EngineerSoftware Engineering FundamentalsOnsite
  • This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Describe Overcoming Challenges in Machine Learning Projects states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    MicrosoftData ScientistBehavioral & LeadershipTechnical Screen
  • This question evaluates innovation, problem identification, stakeholder influence, trade-off management, measurable impact assessment, and reflective learning within the Behavioral & Leadership domain.

    MicrosoftSoftware EngineerBehavioral & LeadershipOnline Assessment
  • This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Describe background and motivations states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    MicrosoftSoftware EngineerBehavioral & LeadershipTechnical Screen
  • This question evaluates a software engineer's competencies in handling ambiguity, prioritization and delivery with limited guidance, risk management during migrations and experiments (including staged rollouts and A/B testing), and resolving technical design conflicts through stakeholder communication.

    MicrosoftSoftware EngineerBehavioral & LeadershipOnsite
  • This Microsoft Data Scientist onsite behavioral question asks the candidate to narrate an end-to-end machine learning project they led under ambiguity, covering problem framing and success metrics tied to business KPIs, data sourcing and privacy constraints, model selection trade-offs across accuracy, latency, interpretability and cost, offline and online evaluation with a real experiment design, stakeholder alignment with PM, engineering and legal, staged rollout with rollback criteria, and post-launch monitoring. It also probes influence and judgment: a strong PM pushback resolved with data, a disagree-and-commit moment, one honest failure with its root cause, and how reproducibility, fairness and ethics held up under time pressure. Strong answers use STAR-L and quantify every claim, from PR-AUC and p95 latency to cost per thousand predictions and the confidence interval on the business lift.

    MicrosoftData ScientistBehavioral & LeadershipOnsite
  • This question evaluates motivation, ownership, conflict-resolution, and leadership communication competencies, focusing on interpersonal dynamics and responsibility relevant to a Machine Learning Engineer role.

    MicrosoftMachine Learning EngineerBehavioral & LeadershipOnsite
  • This Behavioral & Leadership interview question evaluates conflict resolution, interpersonal communication, ownership, and technical decision‑making skills within a data science and ML research project context.

    MicrosoftData ScientistBehavioral & LeadershipTechnical Screen
  • Prepare for a read-heavy product pricing system design interview where prices update infrequently but launch-page reads must be low latency. The prompt focuses on versioned price records, caching, bulk reads, invalidation, rollback, and consistency after daily updates.

    MicrosoftSoftware EngineerSystem DesignOnsite
  • This question evaluates scalable system architecture and distributed systems competencies, specifically testing web crawler concepts such as URL discovery and deduplication, scheduling and prioritization, politeness-aware fetching, parsing and link extraction, storage of content and metadata, failure handling, and monitoring.

    MicrosoftSoftware EngineerSystem DesignTechnical Screen
  • Design product pages and trackable sharing links with anonymous-visitor limits, atomic every-Nth rewards, recoverable redemption, and engagement analytics.

    MicrosoftSoftware EngineerSystem DesignOnsite
  • This problem evaluates the ability to design a scalable, low-latency memory system for an LLM-based chatbot that stores and retrieves user-specific facts to provide personalized responses.

    MicrosoftSoftware EngineerML System DesignOnsite
  • A system design exercise to build proximity search for a food-delivery app that finds restaurants within 10 km of a customer, followed by hand-coding the core lookup. It tests geospatial indexing, read and write paths, partitioning, handling dense areas, and turning a design into correct code.

    MicrosoftSoftware EngineerSystem DesignOnsite
  • Design an ML moderation system for multilingual seller descriptions at marketplace scale. Cover policy-aware labels, severity-based actions, calibrated thresholds, human review and appeals, low-latency serving, selective rescans, auditability, drift, and adversarial abuse.

    MicrosoftData ScientistML System DesignTechnical 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 2026
    Rejected

    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