Microsoft SDE2 onsite interview experience with LLD, HLD, and coding rounds
Question Details
Profile & Application *
Role: SDE-2 at Microsoft *
Experience: 4.5 Years (Tier 1 College, Product-based firm) *
Process: Applied via the career portal; all interview rounds were schedu
Full Details
Profile & Application *
Role: SDE-2 at Microsoft *
Experience: 4.5 Years (Tier 1 College, Product-based firm) *
Process: Applied via the career portal; all interview rounds were scheduled on a single day.
**
Round 1 Data Structures & Algorithms** *
Problem: Find the number of connected components in a graph (similar to "Number of Provinces"). *
Solution: Initially implemented the solution using Depth First Search (DFS). *
Optimization: Implemented a second solution using UnionFind upon request and performed a comparative analysis of time complexities for both approaches.
**
Round 2 Low-Level Design** *
Problem: Design a Parking Lot system. *
Execution: Provided a comprehensive design explanation and implemented approximately 95% of the code. *
Concurrency: Addressed concurrency handling by proposing pessimistic locking as the preferred mechanism over optimistic locking.
**
Round 3 High-Level Design & Managerial** *
Problem: Design a Rate Limiter. *
Technical Deep Dive: Discussed the architectural factors contributing to Redis's speed beyond it being an in-memory store. *
Solution: Explained that Redis utilizes a single-threaded architecture combined with I/O multiplexing to maximize performance. *
Behavioral: Answered standard non-technical and managerial questions.
Outcome *
Verdict: Selected.
About This Question
This is a reported interview question from a microsoft interview for a swe role during the system design round reported in 2025.
It covers the following topics: Graph, Os, Union Find, System Design, Behavioral .