NIST

treesort (1)

(algorithm)

Definition: A sort algorithm that first builds a binary search tree of the keys, then accesses the keys with an in-order traversal.

Generalization (I am a kind of ...)
sort.

Aggregate child (... is a part of or used in me.)
binary search tree, in-order traversal.

See also blind sort, treesort (2), heapsort.

Note: For good performance, use a balanced binary search tree.

Author: PEB

Implementation

(C)

More information

[GBY91, page 182].


Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.

Entry modified 16 November 2009.
HTML page formatted Tue Dec 6 16:16:33 2011.

Cite this as:
Paul E. Black, "treesort (1)", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed., U.S. National Institute of Standards and Technology. 16 November 2009. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/treesort1.html

to NIST home page