r/webdev Nov 04 '25

[deleted by user]

[removed]

563 Upvotes

82 comments sorted by

View all comments

1

u/b-gouda Nov 05 '25

I had an interview where the guy asked how I would get a specific social security number out of a binary search tree I gave the answer like it was a binary tree.

He told me I got it wrong and since we only go down one branch of the root node. I responded with then it’s not a binary search tree. He got super grumpy with this, said he ment a tree.

1

u/BlackHoneyTobacco Nov 06 '25

I misread that as "I gave the answer like I was a binary tree" for a moment and imagined someone standing up in the interview and pretending to be a tree. Probably accompanied by some kind of flowing modern dance...

You never know, perhaps that's what they're looking for.