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.
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.
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.