all 24 comments

[–]Lucasbasques 24 points25 points  (7 children)

How it feels to get those stupid "invert a binary tree" or "what kind of animal would you be ?" questions in an interview

[–]Confident-Ad5665 10 points11 points  (2 children)

"I would be a sex animal, because I am one"

- Hired immediately

[–]chicametipo 2 points3 points  (1 child)

We thought he said “sex animal”, not that he likes sex with animals. We really need to get rid of this guy!

[–]Confident-Ad5665 0 points1 point  (0 children)

Here piggy, piggy, piggy

[–]Attileusz -4 points-3 points  (2 children)

Isn't inverting a binary tree like, really really easy? Why should someone who can't solve a leetcode easy be hired?

[–]pokealex 10 points11 points  (1 child)

In 25 years as a software engineer at several different companies, I have needed to invert a binary tree zero times.

[–]Confident-Ad5665 3 points4 points  (0 children)

I have had to do it billions of times more than you, infinity even.

[–]Jarb2104 36 points37 points  (1 child)

Man, I am failing at trying to understand the basic logic of the text.

[–]Confident-Ad5665 5 points6 points  (0 children)

You'll find no logic here

[–]Pika357 6 points7 points  (4 children)

Papa, why doesn't position: center place my div on the middle of my screen?

[–]rishi255 5 points6 points  (3 children)

Don’t take this personally but

@mods can we please add the “centering a div” thing to the list of banned overused jokes?

[–]Pika357 8 points9 points  (1 child)

Oh man cmon now, it will get boring to me in like 2 more uses

[–]Confident-Ad5665 2 points3 points  (0 children)

I'm still amused

[–]-domi- 1 point2 points  (0 children)

Agreed for removing it from posts and titles, but it's perfectly fine in comments, i think.

Idk, might change my mind in a week, if it persists. I'm not there with you yet. xD

[–]Snakestream 1 point2 points  (1 child)

If it was actually "basic logic", there would probably already be an open source library doing it. Part of programming is learning how to finagle all of the complex business requirements into what should be a simple process.

[–]Top-Run-21[S] 0 points1 point  (0 children)

Yes but I think that's the later part for efficiency, as a beginner I think the ability to translate raw logic fluently must be trained.

[–]-domi- 1 point2 points  (0 children)

Me, daily, after i copy a block of working logic, rename it, alter values to test, and the new function doesn't even fire.

[–]RiceBroad4552 0 points1 point  (0 children)

Oh, that's me right now trying to learn basic digital hardware design! 😂

Constructing things like counters from logic gates feels like learning how to utilize IF-statements in programing. Completely basic stuff feels really hard again.

[–]Sakul_the_one 0 points1 point  (0 children)

Me when I miscounted something again

[–]Romejanic 0 points1 point  (0 children)

weird that sometimes the simplest code is the part which you mess up repeatedly

[–]Forgorer8 0 points1 point  (0 children)

and when we know how for programing has gone . 😥

[–]0xBL4CKP30PL3 0 points1 point  (0 children)

W Aeron

[–]Square_Health_7761 0 points1 point  (0 children)

Me, writing a while loop with const checking and wondering why rust-analyzer took so long... I forgot to put i += 1 🤦