slice logo
Slice· SDE III

Slice | SDE3 | LLD

Posted
1 May 2025
370 reads

Summary

I was presented with a Low-Level Design problem focused on creating a Library Book Management System, detailing functional requirements and system constraints.

How it went

Problem Statement: Library Book Management System

Objective:

Design and implement a backend service that allows users to manage books, borrow and return them, and track availability.

Functional Requirements

Book Management

  1. Add a new book to the library.
  2. Retrieve book details by ID.
  3. List books with filters (e.g., available books, books by author).

User Management

  1. Register a new user.
  2. Fetch user details.

Borrow & Return Books

  1. Borrow a book if it is available.
  2. Return a borrowed book, updating its availability.
  3. List books borrowed by a user.

Constraints:

· A book can be borrowed by one user at a time. · Users can borrow up to 3 books at once.

Questions asked (1)

  1. 01

    Design a Library Book Management System

    System Design

    Objective:

    Design and implement a backend service that allows users to manage books, borrow and return them, and track availability.

    Functional Requirements

    Book Management

    1. Add a new book to the library.
    2. Retrieve book details by ID.
    3. List books with filters (e.g., available books, books by author).

    User Management

    1. Register a new user.
    2. Fetch user details.

    Borrow & Return Books

    1. Borrow a book if it is available.
    2. Return a borrowed book, updating its availability.
    3. List books borrowed by a user.

    Constraints:

    · A book can be borrowed by one user at a time. · Users can borrow up to 3 books at once.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Slice recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!