Practice low-level design like the real interview
Read the problem, write a Java solution with as many classes as you like, and submit. Hidden tests check correctness and hammer your code from many threads, and a design judge scores SOLID, extensibility, thread safety and edge cases against a mid/senior bar.
| # | Problem | Difficulty | Topics | Your best |
|---|---|---|---|---|
| 1 | Parking Lot Multi-floor lot with concurrent gates, sized spots, hourly pricing and an ACTIVE -> PAID -> EXITED ticket lifecycle. | Medium | concurrency, state machine, strategy, idempotency | - |
| 2 | Rate Limiter Per-client limiter with three pluggable algorithms (token bucket, fixed window, sliding log) that must hold under heavy contention. | Medium | concurrency, strategy, time, algorithms | - |
| 3 | Movie Ticket Booking All-or-nothing multi-seat holds with a TTL, confirm/release lifecycle, and a crowd rushing the same seats in random orders. | Hard | concurrency, deadlock, state machine, expiry | - |
Scoring: 50% hidden tests (functional, edge cases, concurrency) + 50% design judge. 85+ is SENIOR, 70+ MID-SENIOR, 55+ MID.