What will be the height of a complete binary tree whose total number of nodes are 32?
Answers
Answered by
3
Answer:
If binary tree has height h, maximum number of nodes will be when all levels are completely full. Total number of nodes will be 2^0 + 2^1 + … ... (C) 32 and 6, respectively
Similar questions