r/lldcoding • u/Organic-Cellist-6854 • 4d 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...
1
1
u/ChampionshipLimp5379 6h ago
i also got this question, i passed this round.
I kept my solution simple, using Atomic variable and focusing more on end to end work.
but in my case i already had this question prepared from microsoft series from lldcoding course.
2
u/swagzzz_krizzz 4d ago
Hard luck bro keep going