Let’s talk about the tree data structure (programmers don’t have their trees upside-down, nature does).

The first thing to talk about is, well… what is it, exactly?

I’m sure everybody is familiar with the following visual representation of a tree:

Visual representation of a tree data structure (courtesy: Wikipedia)
Visual representation of a tree data structure (Courtesy: Wikipedia)

How does Wikipedia define it?

Not very helpful.

The long and short of it is: A tree is a way to structure your…

Johnny Prencipe

Hi, I'm me. If you've found this page, you already know everything about me that fits in this box.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store