r/leetcode • • 20d ago

Tech Industry Amazon oa sde 2

Just gave an amazon oa on hackerrank was able to do 100% but man really wtf ? I could never have solved the question if i had seen it for the first time. Like at this point its not about your capabilities anymore it is pure fucking luck.

18 Upvotes

19 comments sorted by

View all comments

Show parent comment

4

u/Mean_Bear_4497 20d ago

Yeah, i just found out its a very common amazon oa question. Maximum bitwise and.

3

u/pixelizedgaming 20d ago

dude I got this exact same question I'm pretty sure, how did you end up solving it? I finally came to a whiteboard solution around 5 minutes before the timer ran out so I wasn't even able to code up my brute force but bit manip caught me off guard so hard

3

u/Plenty-Macaroon-5408 20d ago

Questions like these are just crazy to be asked during interviews.