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.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS