⌘K
Flycodx

Design a Library Management System

Design a Library Management System

MediumLLD0% accepted

Design a library management system supporting book search, member registration, book issue/return, fine calculation for late returns, and reservation queue for unavailable books.

Approach

Design library system with book catalog, member management, and fine calculation.

Input

Member borrows book for 14 days, returns on day 20

Output

Overdue = 6 days; fine = 6 * daily_rate; record in loan; member cannot borrow if unpaid fine > threshold

Scenarios & Expected Answers

Sign in to continue

Create a free account to view answers and mark progress.

  • Free forever — no credit card
  • Theory Q&A with detailed answers
  • Points, streaks & leaderboards
Auto Save On