binary tree的定义:using nodes and references
binary tree
树的递归定义:树的child(left child, right child)本身也是一棵树,是binary tree class object
Notice that both the left and right children of the root are themselves distinct instances of the BinaryTree class. As we said in our original recursive definition for a
原创
2020-08-18 19:18:12 ·
185 阅读 ·
0 评论