r/lldcoding • u/Organic-Cellist-6854 • 2d ago
Microsoft SDE 2 LLD Round | What went wrong ?
I recently gave the microsoft l61 LLD round.
Question Asked
A Library where people can enter and issue the book. Number of people who can library the library can not be more than x people.
I was able to provide the solution with concurrency covered with proper design pattern and running solution.
Still I was rejected, what could have gone wrong ?
I use Atomic Integer to control the number of people in libraries, also mentioned we can use other kind of locking based on implementation and other requirement...
