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

What is a likely result of taking lsd
true or false? making friends can take time and be difficult, but the benefits are many.
Find the value of x which ABCD must be a parallellogram? x =
whats the gcf of n^3t^2 and nt^4
which example would most likely decrease friction? using cleats, rather than gym shoes, on a field using shaving cream, rather than shaving on dry skin using a
A store offers a 15% discount on all items in the store during a sale. All store employees get an additional 10% employee discount. In the equation below, C rep
water molecules can pass into a cell ,while larger molecules cannot.which feature of a cell allows this to be true?
Which fractions in this listare less than部긍음ぶ
A part of a line with endpoint on both ends is a(n);
which of these statements best describes an outcome of iconoclasm? a. the roman catholic church replaced the eastern orthodox church. b. the pope became more po