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 126–150
Companies: Microsoft
Last reported May 2026
Companies: Microsoft, Anduril, Palo Alto Networks, Salesforce +1
Last reported May 2026
Parse a string into a 32-bit signed integer by skipping leading whitespace, reading an optional '+'/'-' sign and the following contiguous digits (stopping at the…
Companies: Microsoft, Meta, Netflix
Last reported Apr 2026
Given an array and up to k doublings (multiply an element by 2 each time), maximize the bitwise OR of all elements by choosing where…
Companies: Microsoft
Last reported Apr 2026
Check a 9x9 Sudoku board is valid by verifying that no digit 1–9 (ignoring '.') appears more than once in any row, column, or 3x3…
Companies: Microsoft, Amazon, Cisco
Array · Hash Table · Matrix
Last reported Apr 2026
Given a 2D grid containing empty rooms/spaces (INF), walls/obstacles (-1), and gates (0), fill each empty room with the shortest distance to its nearest gate…
Companies: Microsoft, DoorDash, Spotify
Last reported Apr 2026
Companies: Microsoft
System Design
Last reported Apr 2026
Companies: Microsoft, DoorDash, Flex, Freshworks +4
Last reported Apr 2026
Companies: Microsoft, Sprinter Health
Last reported Apr 2026
Given a Person class and a FamilyTree class, implement the getAncestors method on Person and the areRelated and commonAncestors methods on FamilyTree.
Companies: Microsoft, SoFi
Last reported Apr 2026
Given an org chart, write an algorithm to determine the lowest common parent of a list of children. Expected to build the graph on my…
Companies: Microsoft, Amazon, Atlassian, Spotify
Last reported Apr 2026
Companies: Microsoft, Google
Last reported Apr 2026
Design and implement a simplified version control system that supports basic operations such as committing changes, checking out previous versions, and retrieving file content…
Companies: Microsoft
Last reported Apr 2026
Companies: Microsoft
ML System Design
Last reported Apr 2026
Companies: Microsoft, Anthropic
Rate Limiting · System Design · System Design Fundamentals
Last reported Apr 2026
Companies: Microsoft
Authentication & Authorization · System Design
Last reported Apr 2026
Given a sorted integer array and a target value x, return the k integers closest to x in ascending order. Ties are broken by preferring…
Companies: Microsoft, Asana, Meta
Last reported Apr 2026
Debug a broken LRU Cache implementation, identifying and fixing all bugs while maintaining correct usage of generics (Java) or templates (C++). Syntax correctness is critical…
Companies: Microsoft, Google
Last reported Apr 2026
Large file transfers with small metadata transactions: resumable uploads, offline conflicts, reliable change feeds, and shared subtrees whose permissions change as files move.
Companies: Microsoft, Amazon, Apple, Autodesk +17
access-control · change-data-capture · conflict-resolution · data-versioning
Last reported Apr 2026
Design a news aggregation system like Google News that allows users to subscribe to different news sources, categories, and topics, then view a personalized real-time…
Companies: Microsoft, Amazon, Atlassian, Google +6
Last reported Apr 2026
Companies: Microsoft
System Design · System Design Fundamentals
Last reported Apr 2026
Find the smallest substring of s that contains all characters of t (including duplicates), or return "" if none exists. This is typically solved with…
Companies: Microsoft, Amazon, LinkedIn, Lyft +2
Hash Table · Sliding Window · String
Last reported Apr 2026
Companies: Microsoft
ML System Design
Last reported Apr 2026
Design a distributed caching system that can serve data with low latency across multiple geographic locations, handling cache misses, replication, and scaling to support…
Companies: Microsoft, Amazon, Google, Meta +2
Last reported Apr 2026
Design an ad asset management system that allows ad clients to upload individual or bulk text/image assets, validate uploaded assets in near real-time, and receive…
Companies: Microsoft, Digitalocean
Last reported Apr 2026