r/DSALeetCode • u/nian2326076 • 3d ago
Uber SWE II interview: graph coding rounds and a stock-alert system design
An Uber Software Engineer II candidate went through six rounds over about two months.
PracHub’s Uber Interview Questions bank has system-design prompts for practice before interviews. Sketch one and walk through failure cases. LandOffer can autofill applications elsewhere. I work on both.
- OA. Two medium-to-hard problems, on strings and graphs. The graph problem could use union-find.
- Phone screen. Find the itinerary that visits the most distinct cities. The candidate memoized DFS results. Cycles were a missed edge case, though the interviewer hadn't expected one. Strong Hire.
- Coding. Find the first timestamp when all riders are connected in shared-ride logs. They implemented union-find and parsed the input. A follow-up added blocking events that could sever connections, so they explained a BFS approach. Hire.
- Low-level design. Build a C++ key-value store with constant-time get, put, delete, and random retrieval. They generalized the key and value types. Strong Hire.
- High-level design. Alert subscribers when a stock moves 5% from its close. They used Kafka and Postgres, then moved threshold checks upstream to limit database lookups. The discussion covered sharding, idempotency, and dead-letter queues.
- Hiring manager. Project work, cross-team collaboration, and receiving feedback.
High-level design was the only No Hire. The recruiter said the candidate could reapply in six months. They asked for resources to improve at high-level design.
23
Upvotes