Practice questions for 300+ companies, plus questions candidates reported from their interviews.
11,534 questions · 341 companies · 1,080 reported by candidates
Showing 11,534 results
Design a distributed a/b testing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a caching layer that reuses LLM answers for semantically similar queries while handling time-sensitive invalidation.
Count the number of median in the given string.
Affirm processes billions in payments, and reliability is non-negotiable. Share a story about identifying a reliability risk, taking proactive action, and the impact on system uptime or incident prevention.
Build a parser that processes markdown tokens as they stream in one character at a time from an LLM response. Handle partial tokens, nested formatting like bold inside italic, code blocks, and links. The parser must produce valid partial output at any interruption point.
Design a geo-distributed feed generation system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a cloud-based bookkeeping system like QuickBooks that handles invoicing, expense tracking, bank reconciliation, and financial reporting for millions of small businesses.
Design a low-latency load balancing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a distributed image processing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Use the STAR method to answer. Be specific about the situation at Morgan Stanley, your actions, and measurable outcomes.
Design the architecture for Instagram Stories. Cover scalability, data storage, caching, and real-time requirements.
Walk through a complex system you designed and built end to end, covering the technical decisions you made, the tradeoffs you navigated, and how you handled the ambiguity of building something new.
Design a scalable messaging system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a event-driven logging system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a fault-tolerant content delivery system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a scalable authentication system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Implement a conflict-free replicated counter (G-Counter and PN-Counter) that supports increment, decrement, and merge operations across distributed replicas.
Discuss the trade-offs between RLHF and quantization for video recommendation.
Design a scalable feed generation system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a payment system like QuickBooks Payments that handles invoicing, payment collection, and reconciliation for small businesses, supporting credit cards, ACH, and digital wallets.
Get the full picture with our company interview guides.