Comment

Comment by bajsejohannes

Unpopular opinion, maybe, but:

I don't really get why "reversing a binary tree" seem to be used as an example of what's wrong with hiring. I will say, though, that if someone said "how do you reverse a binary tree?" I would have asked the follow up question: "what do you mean by that?". If asking that would be used against me, sure, that's bad hiring.

But if the answer is: "swap all the left and right nodes in a binary tree", then... isn't that pretty basic programming?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton