Common

Self-balancing binary search tree

Any node-based binary search tree that automatically keeps its height the same

Self-balancing binary search tree

Common card · No. 399591

In computer science, a self-balancing binary search tree (BST) is any node-based binary search tree that automatically keeps its height (maximal number of levels below the root) small in the face of arbitrary item insertions and deletions. These operations when designed for a self-balancing binary search tree, contain precautionary measures against boundlessly increasing tree height, so that these abstract data structures receive the attribute "self-balancing". For height-balanced binary trees, the height is defined to be logarithmic O ( log ⁡ n ) {\displaystyle O(\log n)} in the number n {\displaystyle n} of items. This is the case for many binary search trees, such as AVL trees and red–black trees. Splay trees and treaps are self-balancing but not height-balanced, as their height is not guaranteed to be logarithmic in the number of items. Self-balancing binary...

Read on Wikipedia · Image Me (Intgr), Public domain

Open boosters, collect cards and trade them. Free to play.

Play for free
Self-balancing binary search tree – Common Wikipedia card | Wikiverse TCG