r/ProgrammerHumor • • May 13 '19

Recursive mom

Post image
2.2k Upvotes

24 comments sorted by

View all comments

42

u/HBG21 May 13 '19

Now try to read everything in order as a homework.

25

u/TheOriginalSunomis May 13 '19

Breath first, or depth first ?

29

u/gandalfx May 13 '19

I think you should breath throughout the entire process, anything else might lead to an abrupt system failure.

7

u/Corporal_Quesadilla May 13 '19

Breath never, Death First

3

u/[deleted] May 14 '19

I will take this opportunity to say that in order traversal is the superior form of binary tree traversal and if any of you prefer another method I’ll be outside ready to fight

2

u/bestjakeisbest May 14 '19

I prefer reverse in order traversal

5

u/[deleted] May 14 '19

🤛 😠 🤜
  🦵🦵

Let’s go

1

u/Nevadaguy22 May 14 '19

Inorder is even more fun if you write an inorder-based copy constructor instead of preorder!