Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Splaying a search tree in preorder takes linear time - MaRDI portal

Splaying a search tree in preorder takes linear time (Q1178797)

From MaRDI portal





scientific article; zbMATH DE number 22394
Language Label Description Also known as
English
Splaying a search tree in preorder takes linear time
scientific article; zbMATH DE number 22394

    Statements

    Splaying a search tree in preorder takes linear time (English)
    0 references
    0 references
    26 June 1992
    0 references
    Summary: We prove that if the nodes of an arbitrary \(n\)-node binary search tree \(T\) are splayed in the preorder sequence of \(T\), then the total time is \(O(n)\). This is a special case of the splay tree traversal conjecture of \textit{D. D. Sleator} and \textit{R. E. Tarjan} [J. Assoc. Comput. Mach. 32, 652-686 (1985)].
    0 references
    binary search tree
    0 references
    splay
    0 references
    preorder traversal
    0 references
    rotation
    0 references

    Identifiers