this post was submitted on 21 Mar 2025
356 points (98.1% liked)

Programmer Humor

21777 readers
1673 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] barsoap@lemm.ee 4 points 1 day ago* (last edited 1 day ago)

This is often an exercise for beginning programmers

And non-beginners have to weigh the skill of the interviewer to figure out whether "To invert, I'll just keep the tree as it is" is an approach they can grasp. Enlightenment is realising that the tree is already in the perfect shape.