complete binary tree

A complete binary tree is a binary tree with the additional property that every node must have exactly two “children” if an internal node, and zero children if a leaf node.

More precisely: for our base case, the complete binary tree of exactly one node is simply the tree consisting of that node by itself. The property of being “complete” is preserved if, at each step, we expand the tree by connecting exactly zero or two individual nodes (or complete binary trees) to any node in the tree (but both must be connected to the same node.)

Title complete binary tree CompleteBinaryTree 2013-03-22 12:30:14 2013-03-22 12:30:14 akrowne (2) akrowne (2) 7 akrowne (2) Definition msc 05C05 complete ExtendedBinaryTree