I looked through the book and the code repo, and I could not find the implementation for description property for TreeNode.
Chapter 12 Binary Trees has one for BinaryNode
, which is a tree node. The book didn’t implement one for the generic TreeNode
. If you wanted to, you could do something like the linux tree
command.