Scapegoat tree

In computer science, a scapegoat tree is a self-balancing binary search tree, invented by Arne Andersson in 1989 and again by Igal Galperin and Ronald L. Rivest in 1993. It provides worst-case O ( log ⁡ n ) {\displaystyle {\color {Blue}O(\log n)}} lookup time (with n {\displaystyle n} as the number of entries) and O ( log ⁡ n ) {\displaystyle O(\log n)} amortized insertion and deletion time.

Source: Wikipedia — Scapegoat tree (CC BY-SA 4.0)

Scapegoat tree

In computer science, a scapegoat tree is a self-balancing binary search tree, invented by Arne Andersson in 1989 and again by Igal Galperin and Ronald L. Rivest in 1993. It provides worst-case O ( log ⁡ n ) {\displaystyle {\color {Blue}O(\log n)}} lookup time (with n {\displaystyle n} as the number of entries) and O ( log ⁡ n ) {\displaystyle O(\log n)} amortized insertion and deletion time.

Source: Wikipedia "Scapegoat tree" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy