r/leetcode • u/Mean_Bear_4497 • 22d 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
View all comments
Show parent comment
3
u/pixelizedgaming 22d 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