Topic 14 - The BinaryTreeADT Flashcards
1
Q
Define: Length of path?
A
Number of edges on the path
2
Q
Height of a tree?
A
Length of the longest path from the root to a leaf.
3
Q
Convention of height of an empty tree?
A
-1
4
Q
Degree or parity of node means what?
A
Number of children.