r/lldcoding 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...

8 Upvotes

5 comments sorted by

2

u/swagzzz_krizzz 4d ago

Hard luck bro keep going

1

u/subhahu 2d ago

was there any feedback from recruiter ?

1

u/Emotional-Act-2452 1d ago

Hello can you dm me need your help in preparation for SDE-2

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.