Binary Tree Coding Challenge, Simon’s version

Simon followed up on Daniel Shiffman’s Binary Tree Coding Challenge and made his own version: he flipped the tree so that it grows from the bottom (and not from the top) and got rid of the numbers. “Could we please, please send this to Daniel?” he pleaded. I said he could create an issue on Daniel’s GitHub page, which he did:

https://github.com/CodingTrain/Rainbow-Topics/issues/526

Code: https://github.com/simon-tiger/binary-tree

The tree (refresh to get a new tree every time): https://simon-tiger.github.io/binary-tree/index.html

 

 

 

 

 

Flipping the tree:

Binary Tree 30 Apr 2017

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s