what is atmost complete binary tree?

Answer Posted / iti

An almost complete binary tree is a tree in which each node
that has a right child also has a left child. Having a left
child does not require a node to have a right child. Stated
alternately, an almost complete binary tree is a tree where
for a right child, there is always a left child, but for a
left child there may not be a right child.
The number of nodes in a binary tree can be found using this
formula: n = 2^h Where n is the amount of nodes in the tree,
and h is the height of the tree.

Is This Answer Correct ?    61 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the implementation of an AVL tree and Binary tree.

596


What do you mean by tree edge?

613


We know that Arrays are objects so why cannot we write strArray.length()?

1210


What is push and pop in stack?

494


What is entryset in hashmap?

527






Explain linear linked implementation of Stack and Queue?

612


Explain binary searching, Fibonacci search.

629


Describe tree database.

593


Why do we study data structures?

591


Explain quick sort and merge sort algorithms.

651


What are the disadvantages of linear list?

592


What is difference between capacity and size of arraylist?

601


Why do we use binary search?

567


Why is map not a collection?

540


Which interfaces are implemented by concurrentskiplistset?

573