How many leaf nodes are there in a binary heap if there are 12 elements in total?
Tip: Remember that a leaf node is a node with no child. And it may not necessarily be located at the last level of the tree.
How many leaf nodes are there in a binary heap if there are 12 elements in total?
Create a free account to access the full topic