Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (anonymous):

What is the advantage of the Red Black tree? Why are we heading to that tree, when we have lot more? in what applications these are used?

OpenStudy (anonymous):

http://en.wikipedia.org/wiki/Red –black_tree

OpenStudy (anonymous):

A red black tree guarantees faster tree queries without increasing the time of other operations. If you know about big-O notation, all you need to know is that a regular binary search tree has a worst case query time of O(n) and a red-black tree is a special case of a binary search tree with a query time of O(lg(n)). I work as a software engineer and this is probably the simplest implementation of a binary search tree that guarantees O(lg(n)) queries.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!