Microsoft Interview Questions
Master your tech interview with our curated database of real questions from top companies.
North Star Metrics & Experiment Design
Product Sense: Define a North Star Metric and Experiment (Microsoft) Context - Choose any Microsoft product you know (e.g., Teams, Outlook, Azure AI)....
Cross-Team Conflict Resolution & Product Launch
Behavioral Question: Cross-Team Leadership, Conflict Resolution, and Course Correction Context: In a Product Manager HR screen, you may be asked to sh...
ML Pipeline Stability & Evaluation
Scenario: Stabilizing a Time-Series ML Pipeline You are the product manager for a system that uses time-series machine learning to predict a numeric t...
Enterprise Process Management Tool Design
Product Design: Enterprise Business-Process Management (BPM) Context You are a Product Manager tasked with designing an end-to-end Business-Process Ma...
Behavioral Decision-Making & Improvement
Behavioral & Leadership Prompts — Product Manager (Onsite) Context You are preparing for an onsite Product Manager behavioral/leadership interview. Ex...
Collaboration, Customer Obsession & Influence
Behavioral & Leadership Interview (Product Manager Onsite) Context: You are interviewing for a Product Manager onsite focused on behavioral and leader...
Behavioral Focus: Collaboration, Customer Obsession & Influence
Behavioral & Leadership — Product Manager (Onsite) Context: You will be asked to share past experiences that demonstrate how you operate as a Product ...
Behavioral & Leadership Fit at Microsoft
Microsoft Product Manager Onsite Interview – Behavioral & Leadership Context You are preparing for an onsite interview for a Product Manager role at M...
Design local sports team recommendation system
Design a recommendation system that suggests local sports teams to users. High-level requirements: - Recommend sports teams that are relevant to a use...
Discuss proudest project and conflict handling
Answer the following behavioral questions in depth, demonstrating ownership and leadership: 1. Proudest project and ownership - Describe the projec...
Merge overlapping intervals
You are given an array of intervals, where each interval is represented as a pair of integers [start, end] with start <= end. The intervals may be uns...
Find lowest common ancestor in tree
You are given the root of a binary search tree (BST) and two distinct nodes p and q that are guaranteed to exist in the tree. Task (BST case): - Find ...
Count integer pairs satisfying 1/x + 1/y = 1/N
You are given a positive integer N (\(1 \le N \le 10^6\)). Consider the Diophantine equation: \[ \frac{1}{x} + \frac{1}{y} = \frac{1}{N}, \] where x a...
Find max consecutive elements with sum below target
You are given: - An integer array nums of length n, sorted in non-decreasing order. - An integer index such that 0 ≤ index < n. - An integer target. S...
Design top-K frequency store for varying workloads
Scenario You need to design an in-memory component that tracks how often each key appears in a stream of events. The component must support these oper...
Find shortest substring with n unique letters
Problem You are given a string s consisting of lowercase English letters and an integer n (1 ≤ n ≤ 26). Find the length of the shortest contiguous sub...
Design cache with least-recently-used eviction
You are asked to design an in-memory key–value cache that supports a least-recently-used (LRU) eviction policy. The cache must support the following o...
Handle repeated last-minute interview reschedules
You’re a candidate interviewing with TikTok. You requested a China-friendly time slot and it was confirmed, but two days later HR moved it. The second...
Resolve conflict with measurable outcome
Behavioral: Conflict With a Teammate or Stakeholder (Data Scientist — Technical Screen) Provide a specific, first-person example. Use a clear structur...
Solve two-pointer, sliding-window, and string tasks
Solve the following three coding tasks: 1) Two-pointer in-place de-duplication: Given a non-decreasing integer array nums and an integer k >= 1, modif...