If the depth of a tree is 3 levels, then what is the Size of the Tree?

ou calculate the size of a tree by using the following formula: size = 2 ^ depth If the depth is 3 levels, then the size is 8, as shown here: 8 = 2 ^ 3

Comments are closed.