Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. A Tango tree is
an online binary search tree that is O(lg lg(n))-competitive. Tango
trees were invented by Erik D. Demaine, Dion Harmon, John Iacono, and
Mihai P¿träcu in 2004. They were designed to surpass the usual O(lg n)
binary search tree cost of operations. They perform basic operations
such as searches in O(lg n)(lg n)(lg n) time. This optimization is
achieved dynamically by adjusting the search tree structure as a result
of all searches. They are similar in their dynamic behaviour to other
types of structure like a Splay tree. However, the search speed is
considerably improved.