AVL Tree ( Self-Balancing Trees Creation): Difference between revisions

From Algorithm Wiki
Jump to navigation Jump to search
(Created page with "== Time Complexity == $O(nlogn)$ == Space Complexity == $O(n)$ words (Need to keep track of intermediary stages of tree before outputting) == Description == == Approximate? == Exact == Randomized? == No, deterministic == Model of Computation == Word RAM == Year == 1962 == Reference ==")
 
No edit summary
 
Line 1: Line 1:
== Time Complexity ==  
== Time Complexity ==  


$O(nlogn)$
$O(n \log n)$


== Space Complexity ==  
== Space Complexity ==  

Latest revision as of 08:50, 10 April 2023

Time Complexity

$O(n \log n)$

Space Complexity

$O(n)$ words

(Need to keep track of intermediary stages of tree before outputting)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM

Year

1962

Reference