Ask Question

What is the height of the tallest possible red-black tree containing 31 values?

+4
Answers (1)
  1. 29 November, 06:38
    0
    The height of tallest possible red-black tree having 31 values is 10.

    Explanation:

    The height of tallest possible red-black tree = 2㏒₂ (n+1)

    here we have n=31 So substituting the value of n in the equation.

    =2㏒₂ (31+1)

    =2㏒₂ (32)

    =2㏒₂ (2⁵) since ㏒ (aⁿ) = n㏒ (a)

    =2x5㏒₂ (2)

    =10㏒₂ (2) since ㏒ₙ (n) = 1.

    =10.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is the height of the tallest possible red-black tree containing 31 values? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers