There appears to be an issue with the code under the comment “””Barebones general Tree & Node”””

It returns an error stating that ‘Tree’ object has no attribute ‘getAllNodes’.

I’m pretty new to programming so I’m not sure how to resolve this.

Married to my best friend. Father to five exuberant children. Fledgling entrepreneur. Writer. Software developer. Inventory management expert.

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