RTUComputer ScienceYr 2024 · Sem 32024

Q6Data Structures

Question

2 marks

Define complete Binary Tree?

Answer

A complete binary tree fills every hierarchical level entirely, with the lowest level filling strictly from left to right.

A complete binary tree is a highly structured binary tree variant strictly mandated to have all its hierarchical levels completely filled with nodes, with the possible sole exception of the deepest, final level. Furthermore, any nodes located on this final terminal level must be densely populated as far left as physically possible, without any spatial gaps.

Back to Paper