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 Anglo-American can indeed cut down, and grub up all this waving forest, and make a stump speech, and vote for Buchanan on its ruins, but he cannot converse with the spirit of the tree he fells, he cannot read the poetry and mythology which retire as he advances. He ignorantly erases mythological tablets in order to print his handbills and town-meeting warrants on them.
    Henry David Thoreau (1817–1862)

    There was something refreshingly and wildly musical to my ears in the very name of the white man’s canoe, reminding me of Charlevoix and Canadian Voyageurs. The batteau is a sort of mongrel between the canoe and the boat, a fur-trader’s boat.
    Henry David Thoreau (1817–1862)