Hopcroft 2-3 Tree ( Self-Balancing Trees Insertion): Difference between revisions

From Algorithm Wiki
Jump to navigation Jump to search
(Created page with "== Time Complexity == $O(logn)$ == Space Complexity == $O({1})$ words (Each node being changed requires constant auxiliary space to make changes; can reuse space across nodes being changed) == Description == == Approximate? == Exact == Randomized? == No, deterministic == Model of Computation == Word RAM == Year == 1970 == Reference ==")
 
No edit summary
 
Line 1: Line 1:
== Time Complexity ==  
== Time Complexity ==  


$O(logn)$
$O(\log n)$


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

Latest revision as of 09:51, 10 April 2023

Time Complexity

$O(\log n)$

Space Complexity

$O({1})$ words

(Each node being changed requires constant auxiliary space to make changes; can reuse space across nodes being changed)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM

Year

1970

Reference