Skip to main content
All Questions

Design a Library Management System.

Unlock detailed company stats for this questionUpgrade

Entities discussed: Library, Book, Author, Transaction. Discuss how the tables relate and how books can be queried by author and book name. API design: a gRPC-style request object supporting filtering books by name, author and date. Concurrency follow-up: how to track trending books (thread-safe counts map of reads/checkouts plus a top-k heap).

Expect follow-ups like

  • What is the optimal approach to insertion and deletion, and which database would you choose?
  • How would you search optimally, and where does a Trie fit?
  • How would you track trending books concurrently?

Format · Salesforce AMTS system design round.

Also asked as · Design a simple Library Management System.

Community answers

No answers contributed by the community yet.

Related courses

Course

Software Engineering Interview Prep

Land your dream software engineering role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates—practice data structures, algorithms, system design, people management, behavioral interviews, and more.

Course

System Design Interviews

Learn how to answer the latest system design questions across product, infrastructure, and AI domains. Features in-depth video examples, written breakdowns, and helpful reference patterns. Watch senior engineers and managers answer these questions in mock interview videos.