LLD - Design — Parking Lot System
In the following code snippet, what is the main concurrency issue?
lock.acquire() shared_data.append(1) # Missing lock.release()
lock.acquire() shared_data.append(1) # Missing lock.release()
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions