Question

4. There are 800 elements which need to be stored in an AVL tree. (a) What is the height of the AVL tree in the worst case (b) What is the height of the AVL tree in the best case?


0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) worst case height:-

1.44logn

1.44(log 800)

=4.18045

b) best case height:-

log n

(log 800)

=2.9

Add a comment
Know the answer?
Add Answer to:
There are 800 elements which need to be stored in an AVL tree. What is the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT