LLD - Design — Library Management System
Analyze the following pseudo-code for releasing a hold:
What will be the output if the hold is still active?
if hold.exists(hold_id) and hold.is_expired(hold_id):
release_hold(hold_id)
return 'Hold released'
else:
return 'Hold still valid'What will be the output if the hold is still active?
