LLD Advanced Problems

Connection Pool

Design a connection pool with bounded capacity, timed borrowing, safe returns, and resource cleanup.