Tree Sort

A tree sort is a sort algorithm that builds a binary search tree from the keys to be sorted, and then traverses the tree (in-order) so that the keys come out in sorted order. Its typical use is when sorting the elements of a stream from a file. Several other sorts would have to load the elements to a temporary data structure, whereas in a tree sort the act of loading the input into a data structure is sorting it.

Read more about Tree Sort:  Efficiency, Example

Famous quotes containing the words tree and/or sort:

    “The pine tree seems to listen, the fir tree seems to wait, and neither with impatience:Mthey give no thought to the little people below them whose impatience and curiosity eat them up alive.”
    —Friedrich Nietzsche (1844–1900)

    “Hope is a bad thing. It means that you are not what you want to be. It means that part of you is dead, if not all of you. It means that you entertain illusions. It’s a sort of spiritual clap, I should say.”
    —Henry Miller (1891–1980)