bendlogan6727 bendlogan6727
  • 19-07-2019
  • Computers and Technology
contestada

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

Respuesta :

ExieFansler ExieFansler
  • 23-07-2019

Answer:

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.

Answer Link

Otras preguntas

Explain what makes two quantities proportional
Why did some people work on the pyramid for only a portion of the year
when the time of day for a certain ship at sea is 12 noon, the time of day at the prime meridian (0 longitude0 is 5 pm. what is the ships longitude? 1)45W 2)45E
How many grams are in 1.48 x 10^7 micrograms
One way the Constitution limits individual rights is that itits individual rights is that it
Why are animal cells round?
99 points!!!! Please finish this worksheet. Show your work!!!
Last night, Lucy and Neil met Morey in Gramercy Park. The object of the verb is
In the first major pioneering movement, settlers made their way to Oregon and California by way of the _______ Trail. a. Kearny b. Oregon c. Cumberland d. O
What limits does article 12 place on the King's power to tax?