Tree sort (Comparison Sorting Sorting): Difference between revisions

From Algorithm Wiki
Jump to navigation Jump to search
(Created page with "== Time Complexity == $O(n logn)$ == Space Complexity == $O(n)$ words () == Description == == Approximate? == Exact == Randomized? == No, deterministic == Model of Computation == Word RAM == Year == 1962 == Reference == http://www.neubert.net/FSOIntro.html")
 
No edit summary
 
Line 1: Line 1:
== Time Complexity ==  
== Time Complexity ==  


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


== Space Complexity ==  
== Space Complexity ==  
Line 7: Line 7:
$O(n)$ words
$O(n)$ words


()
(Derived: Need some way to store the tree of elements, so we need $O(n)$ auxiliary space.)


== Description ==  
== Description ==  
Line 27: Line 27:
== Year ==  
== Year ==  


1962
1986


== Reference ==  
== Reference ==  


http://www.neubert.net/FSOIntro.html
https://link.springer.com/chapter/10.1007/978-1-349-08147-9_4

Latest revision as of 09:32, 10 April 2023

Time Complexity

$O(n \log n)$

Space Complexity

$O(n)$ words

(Derived: Need some way to store the tree of elements, so we need $O(n)$ auxiliary space.)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM

Year

1986

Reference

https://link-springer-com.ezproxy.canberra.edu.au/chapter/10.1007/978-1-349-08147-9_4