Explore questions associated with Microsoft. Review the source details, then use the workspace for code, notes, and diagrams.
430 questions in the library. A source association does not guarantee a future interview question.
Behavioral and leadership · Coding · Machine learning · ML system design · Object-oriented design · Other questions · Practical engineering · System design
Loading questions…
Showing 1–25
Companies: Microsoft
Last reported Nov 2026
Design a system that allows customers to submit feedback about a product, enabling engineering teams to access, process, and act on that feedback effectively.
Companies: Microsoft
Last reported Nov 2026
Given an array of strings representing consecutive fragments of an original string, reconstruct the original string by arranging the fragments in the correct order. Each…
Companies: Microsoft
Last reported Nov 2026
Companies: Microsoft
Last reported Nov 2026
Design a proxy layer that sits between microservices and external APIs to optimize costs by implementing strategies such as request caching, rate limiting, request…
Companies: Microsoft, Arize Ai
Last reported Nov 2026
Given a string of lowercase letters and parentheses, remove the minimum number of '(' or ')' characters so the remaining string is a valid parentheses…
Companies: Microsoft, Bloomberg, Meta
Last reported Nov 2026
Question: Tell me about yourself
Companies: Microsoft, Adyen, Amazon, Anthropic +13
Last reported Oct 2026
Design a financial reporting service that allows users to generate reports within a specified date range, view or download those reports, with each report automatically…
Companies: Microsoft
Last reported Oct 2026
Design a publish-subscribe messaging system where publishers can send messages to topics and subscribers can listen to those topics. Messages are lost if no subscribers…
Companies: Microsoft, Roblox
Last reported Oct 2026
Design a rate limiting system that can control the number of requests a user or client can make within a specified time window, preventing abuse…
Companies: Microsoft, Amazon, Apple, Cohesity +3
Last reported Oct 2026
Companies: Microsoft
System Design · System Design Fundamentals
Last reported Sep 2026
Place n queens on an n×n chessboard so no two queens share a row, column, or diagonal, and return all distinct board configurations. This is…
Companies: Microsoft, Netapp
Algorithm X · Array · Backtracking
Last reported Sep 2026
Given an array of non-negative heights representing elevation bars of width 1, compute the total units of water that can be trapped between them after…
Companies: Microsoft, Amazon, Bloomberg, Goldman Sachs +6
Array · Dynamic Programming · Monotonic Stack · Stack
Last reported Sep 2026
Given numCourses and prerequisite pairs, return any ordering of courses that satisfies all prerequisites or an empty array if impossible — this is essentially computing…
Companies: Microsoft, Amazon, Anduril, Apple +11
Breadth-First Search · Depth-First Search · Graph Theory · Topological Sort
Last reported Sep 2026
Algorithm trade-offs (fixed window, sliding log, sliding counter, token bucket), placement, distributed atomic counting, failure modes.
Companies: Microsoft, Amazon, Anthropic, Apple +14
api-gateway · atomicity · Concurrency · Consistency & Availability
Last reported Sep 2026
Implement a text editor with a movable cursor that supports inserting text at the cursor, deleting up to k characters to the left (backspace), moving…
Companies: Microsoft, Google
Last reported Sep 2026
Companies: Microsoft, Amazon, Arize Ai, Block +12
Last reported Sep 2026
Companies: Microsoft, Adobe, Amazon, Bloomberg
Depth-First Search · Doubly-Linked List · Linked List
Last reported Sep 2026
Given a list of meeting time intervals, determine the minimum number of conference rooms required so that no meetings overlap. The core challenge is computing…
Companies: Microsoft, Amazon, Apple, Google +9
Array · Greedy · Heap (Priority Queue) · Prefix Sum
Last reported Sep 2026
Companies: Microsoft, Adyen, Amazon, Anthropic +37
Last reported Sep 2026
Determine whether the string s can be segmented into a sequence of one or more words from wordDict (words may be reused). The core challenge…
Companies: Microsoft, Amazon, Google, Grammarly +3
Array · Brute-Force Search · Dynamic Programming · Hash Table
Last reported Sep 2026
Design a validator system for a Data Migration Service (DMS) that verifies whether events are correctly migrated from a Source system to a Target system…
Companies: Microsoft, MongoDB
Last reported Sep 2026
Given a sequence of request timestamps (or events) and throttling rules (e.g., at most K requests per time window or a required cooldown between same…
Companies: Microsoft, Google, Plaid, Roblox
Last reported Sep 2026
Design a hit counter that tracks the number of hits received in the past 5 minutes, supporting the ability to record hits and retrieve the…
Companies: Microsoft, Snapchat
Last reported Sep 2026
Companies: Microsoft
API Design · Real-Time Systems · System Design
Last reported Sep 2026