From charlesreid1

Revision as of 12:43, 12 June 2017 by Admin (talk | contribs) (→‎Important Facts)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Important Facts

For any binary tree, number of internal nodes and number of external nodes are related as:

E = I + 1

Scaling Complexity

Tree implementations can be made very complicated, or very simple.

Complications:

  • Interfaces, abstract classes, virtual methods
  • Positions abstracted from nodes, array/linked either (flexible)
  • Pre/post-method hooks
  • Trees vs. binary trees
  • Sorted vs. unsorted
  • Bifurcations of methods that are needed, utility and modification

Flags