answersLogoWhite

0

If you consider also the starting point, then 3. Otherwise, 2.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

If a binary tree it have 18 nodes what is the minimum depth of the tree?

3


What is the minimum number of nodes in a binary tree of depth k?

if u assign a 0th level to root of binary tree then,the minimum no. of nodes for depth K is k+1.


What is the difference between strictly binary tree and complete binary tree?

Complete Binary tree: -All leaf nodes are found at the tree depth level -All nodes(non-leaf) have two children Strictly Binary tree: -Nodes can have 0 or 2 children


What is the difference between extended binary tree and complete binary tree?

Complete Binary tree: All leaf nodes are found at the tree depth level and All non-leaf nodes have two children. Extended Binary tree: Nodes can have either 0 or 2 children.


What is the minimum number of nodes in a full binary tree with depth 3?

A full binary tree of depth 3 has at least 4 nodes. That is; 1 root, 2 children and at least 1 grandchild. The maximum is 7 nodes (4 grandchildren).


What is the maximal of nodes in binary tree of depth D?

2^(d+1) - 1


Minimum number of nodes in a full binary tree with depth 3?

8


Count the number of nodes of a binary tree having depth n?

Use the following formula: (2^n)-1. E.g., if the depth is 3, the number of nodes is (2^3)-1 = 8-1 = 7. Note that 7 is the maximum number of nodes, not the actual number of nodes. To count the actual nodes you must traverse the tree, updating an accumulator as you go.


Write a program in C programming language to list the nodes of a binary tree in the following way List the root then nodes at depth 1 followed by nodes at depth 2 and so on?

tell me , how we create a username & password for many users in c language.


How many nodes are there in the nth of a binary tree?

If N>1, there are (2N-1) - (2N-1-1), otherwise, 1 nodes in the Nth level of a balanced binary tree.


How many null branches are there in a binary tree with 20 nodes?

12


When converting binary tree into extended binary tree all the original nodes in binary tree are?

will remain same