When the lowest branch consists entirely of prime numbers.
21
you have to do a tree factor and when you are done you have to see if there is any match numbers together and you put in one number than you just put the rest sa mutliple and than you are done
A factor tree is a way to notate the process of finding the prime factorization of a given number by writing the number at the top and breaking it down into factors on subsequent lines or "branches." The tree is complete when the bottom branch consists only of prime numbers.
109 109 x 1 This is all there is to the factor tree, because 109 is a prime number. Normally, I wouldn't use 1 in a factor tree, but I do in this case to make it clear that I have done a factor tree, since 109 is only divisible by itself and 1.
29x3 both prime so your done
we can find the balance factor of highty balance tree with height of left subtree- height of right sub tree
When the bottom branch consists entirely of prime numbers.
All the numbers are prime
In an AVL tree, at what condition the balancing is to be done : If the 'pivotal value' (or the 'Height factor') is greater than 1 or less than -1. niraj
IT IS PRIME there is no factor tree
Factor tree of 204