S7:E2 - "Stay gold, AVL tree, stay gold" - podcast episode cover

S7:E2 - "Stay gold, AVL tree, stay gold"

Jul 31, 201918 minTranscript available on Metacast
--:--
--:--
Listen in podcast apps:

Episode description

Last episode, we learned about AVL trees, a type of self-balancing binary search tree that follows a golden rule: no single leaf in the tree should have a significantly longer path from the root node than any other leaf on the tree. In this episode, we learn about a pattern that we can use to programmatically figure out the minimum number of nodes we’ll need to create any given height-balanced AVL tree, which leads us to the Fibonacci sequence, and relates to the "golden ratio" you might know about from fine art! Trust us, this is really neat stuff. Based on Vaidehi Joshi's blog post, "Finding Fibonacci In Golden Trees".