Download root parent child leaf node edge - TAMU Computer Science Faculty

Transcript
CPSC 211 Data Structures & Implementations
(c) Texas A&M University [ 223]
Binary Trees
Binary tree: a tree in which each node has at most two
children.
Complete binary tree: tree in which all leaves are on
the same level and each non-leaf node has exactly two
children.
Important Facts:
A complete binary tree with
nodes.
A complete binary tree with
mately levels.
levels contains nodes has approxi-