Lably
Skip to content

Exponential tree

  • 1 min read
  • 3 chapters

Explore on Lably

ToursExplore Lably’s 3D tours

Exponential trees achieve optimal asymptotic complexity on some operations. They have mainly theoretical importance.

Tree structure

An exponential tree is a rooted tree where every node contains a splitter and every leaf node contains a value. The value may be different from the splitter. An exponential tree with n values is defined recursively:

  • The root has Θ(n1/k) children
  • The splitter of the root is the same as the splitter of the leftmost child
  • The splitters of all children are stored in a local data structure
  • The subtrees are exponential trees with Θ(n1−1/k) values

An additional condition is that searching for a value using the splitters must yield the correct node (i.e. the one containing the value). Therefore, if a root of a subtree contains the splitter s and its right sibling contains the splitter s′, then this subtree can only contain keys in the range [s,s′).

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Computing and communication