Question #153295

Explain the difference between a complete binary tree and a perfect binary tree


Expert's answer

A complete binary tree of height hh could be one in which all nodes up to level hh have two children.

A full binary tree has all it's nodes with either none or two children. A perfect binary tree is a tree which is both full and complete.


LATEST TUTORIALS
APPROVED BY CLIENTS