Trees Resources

Websites

How to Pretty-Print a Binary Tree

If you’ve ever wanted to use C++ to print a binary tree using only symbols from your keyboard, this is your lucky day.

How to Create a Tree in JavaScript

Have some JavaScript code for making your very own tree. (Good luck finding a place to plant it though.)

Even HTML is a Tree

Here you thought HTML was just a markup language. Well…it is, but it's also a pretty elaborate tree for storing information. It isn't binary, but we'll let it slide just this once.

Radial Tree of Evolution

Love animals? Love trees? Love colorful representations of animals in trees? Check out this tree that shows the evolution of different biological life over time since life began. Hagfish anyone?

Intro to Radix Trees

Everything you ever wanted to know about radix trees (also called tries), or at least some of what you might want to know. But wait, there’s more. You also get some C++ code for creating your very own radix tree.

How to Create a Huffman Tree

Huffman trees are great for encoding/decoding/compressing data in file formats like MP3s and JPGs. Here’s how to make one.

Videos

Binary Space Partitioning

How Binary Trees are used to render those crisp 3-D scenes in your favorite video games, and in your not-so-favorite games too.

Intro to Hyperbolic Trees (or Hyper Trees)

Using Hyperbolic Trees to track/visualize conversational threads, even the embarrassing ones from your mom.

Hyperbolic Trees in Action

How awesome are hyperbolic trees? See for yourself with this hyperbolic tree used to map artist/band relationships.