Skip to main content
Advancedsystem design

Design a service that finds customers the cheapest available copy of a book across many sellers, then go deeper on the parts the interviewer probes.

ReportedSource: interviewing.io: Databricks interview questions guide

Quick answerFree

Offers store sharded by ISBN, queue-driven seller updates, per-ISBN sorted index (e.g. Redis ZSET by price+shipping) for O(log n) cheapest lookup, caching and title search, revalidate/reserve at checkout.

Detailed answer· ~200 words

Pro

Unlock the full answer with Pro

Get a ~200-word model answer, plus 152 more System Design questions.

+ 152 more System Design questions in Pro, each with the full answer.

Discussion