CSE Roadmap

Level 13 of 13 · about 4 weeks

Practice: more designs and mock interviews

Ten more designs (nearby friends, email, maps, ride-hailing, a CDN, a lock service, a job scheduler, a collaborative editor, a digital wallet and a stock exchange), a bank of thirty practice prompts and a plan for mock interviews.

Modules

Core: everyone needs it. Common: most jobs use it. Specialist: optional depth, safe to skip on a first read.

  1. 1

    Design nearby friends

    Live friend locations with WebSockets, a location cache, pub/sub routing and a hash ring

    Common 7 parts · about 4 hours

  2. 2

    Design an email service

    Sending and receiving flows, a per-user mailbox store, deliverability and search

    Specialist 8 parts · about 4 hours

  3. 3

    Design maps and routing

    Map tiles on a CDN, routing tiles in object storage, location streams, ETA and rerouting

    Specialist 7 parts · about 5 hours

  4. 4

    Design a ride-hailing service

    Driver locations, matching a rider to a driver, trip state and pricing

    Specialist 8 parts · about 5 hours

  5. 5

    Design a CDN

    Edge caches, request routing, cache keys, invalidation and cost

    Common 8 parts · about 4 hours

  6. 6

    Design a lock and coordination service

    Leases, fencing tokens, sessions, watches and leader election on a small replicated store

    Common 7 parts · about 4 hours

  7. 7

    Design a job scheduler

    A distributed cron with a leader, a replicated log, launch tracking and no double launches

    Common 8 parts · about 4 hours

  8. 8

    Design a collaborative editor

    Many people editing one document at once, with operational transformation or CRDTs

    Specialist 8 parts · about 5 hours

  9. 9

    Design a digital wallet

    Balance transfers between accounts, distributed transactions, event sourcing and a replicated log

    Common 8 parts · about 5 hours

  10. 10

    Design a stock exchange

    Order matching, a sequencer, event sourcing on one server, and hot-warm failover with Raft

    Specialist 8 parts · about 5 hours

  11. 11

    Practice bank

    Thirty design prompts with questions to ask, numbers to find and the core idea of a good answer

    Common 7 parts · about 6 hours

  12. 12

    Mock interviews

    A 45-minute plan, scripts for each phase, a scoring rubric and a learning loop

    Common 8 parts · about 6 hours