CS111 C++ Practice Quiz #8
Binary Trees
Answers
- root
- child or subtree
- leaf
- a. inorder, b. preorder, and c. ostorder.
- The primary disadvantage of a binary search tree is that it may become very unbalanced, in which case searching degenerates
into an O(n) algorithm. The advantage is the fact that it is very efficient for insertions and deletions.