Underneath the Sycamore Binary Tree

Two roads diverged in a yellow wood,
And sorry I could not travel both…

While “The Road Not Taken” may be the most misinterpreted poem in American history, indulge me for a second. Even though these famous words came about some 40 years before the publication of the binary search tree algorithm, Robert Frost may have understood the concept of binary Boolean logic. How a choice made in the present will effect where you end up in the future.  Choosing the path on the left will take you downstream to a different point relative to the position you have ended up at if you had taken the right path. And no subsequent decisions will ever get you to the exact position of someone who took the latter.

You make choices, or should make choices, based on the expected result that you will manifest due to that choice being made. This all sounds well and good, until you realize that having made a different choice at that point in time could have put you in a more desirable current situation. To add to the complexity, where you want to end up may not be the place you want to be when you get there, compared to other “could have, would have, should haves.” You see where I’m leading you with this right? The problem is that we are forced to pick a left or a right branch without the ability to see the tree in its entirety.

You probably want me to pause so you can say “but binary search trees choose the path based on whether the current location is more or less than a desired outcome, so it will always get to where it wants to go.” Binary trees catalogue values from left to right in the order given, allowing the tree to be searched easily for any value already positioned.  We know that we can find any established value in the tree with a single repetitive Boolean operation. It’s not the search algorithm that I’m focused on. It’s the creation algorithm of the tree, and depending on the order of decisions you are given, the tree will always result in a different shape. You will not know what that tree will look like until you have been given all the values, and what order they are given. Change the order of values, and you have a completely different tree. To give you a visualization, play around with this BST creator, and refresh your browser each time. https://kanaka.github.io/rbt_cfs/trees.html.

Life’s decisions are like creating a binary tree. Your decision will take you on a journey leading to subsequent decisions. However, those subsequent decisions cannot be handled in the same way had you been given that decision one level back. The order in which you are given decisions, and your current position in life all determine how your tree takes shape. Binary trees also show us that we do not meet these decisions in a repetitious, orderly fashion. You may find a sycamore tree outside your house and be presented with the decision of whether to seek shade under it. What you may not realize is that it was once, in fact, one of 500 seeds carried by astronaut Stuart Roosa on the 1971 mission to the Moon aboard the Apollo 14 spacecraft.  Had NASA made the choice to keep better chain-of-custody records of where the seeds ended up after the mission, many homeowners like you would not be presented with the decision to enjoy the shade of a sycamore tree right outside their window.

Property of Disney+

In last week’s post, I complained about the fact that Loki season two  hasn’t appeared on Disney+ yet. But Doctor Strange In The Multiverse of Madness is premiering this week so please bear with me as I use another Marvel reference. Barring the idea that a “Nexus Event” is even possible, we all branch off a set path depending on our decisions in the moment. Even if we think we are always choosing based on the same criteria every time, the order of decisions thrown at us will ultimately change our branch’s configuration. We are all variants on some level.  But don’t expect Stephen Strange to sort out your life anytime soon.

Had I not chosen to work in class action administration out of law school, or had I chosen to buy that house I almost closed on before I was convinced to move to another state (pre-housing market craziness mind you-I’m still kicking myself for that), or had I chosen to skip that stomach wrenching Arby’s sandwich earlier today…who know’s where I would have ended up. Would I be in OSU’s program? Had I not returned to college for a computer engineering degree, would I have realized that our lives follow paths eerily similar to that found in nature, how a tree’s trunk growth follows the Fibonacci sequence.

Learning computer programming has taught me a lot. More than I thought I would get from staring at lines of code each night. I now see the beauty in mathematical algorithms and, to a certain extent, how my existence in this exact time and space can be traced and explained by a program that I now have the ability to design, if given the right variables.

Robert Frost may have understood the binary tree algorithm more than he realized. In the second stanza, his poem admits that the passing on both paths “worn them really about the same.” Meaning that he was, in fact, not on a road less traveled but one equally traveled and of equal consequence. He states that he left the other path for another day, but doubts he will ever return. In other words, you can’t go back and rearrange the way your tree’s branches once you’ve plotted your nodes.  Frost later tells “with a sigh” that this earlier choice had made all the difference. Frost eludes to the lie we tell ourselves that our choices are the only variables that dictate our fate.  We deceive ourselves to believe that we are a creation of our own decisions, and our decisions alone.  But he knew better. You also have to consider the order in which these infinite decisions are handed to you, the chaos theory, the missing variables “chance,” “luck,” and “opportunity.”  Our lives are unique binary trees, growing amongst each other in a yellow wood.

Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *