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:
“A single soldier does not make a general, just as a single tree does not make a forest.”
—Chinese proverb.
“If everything is perfect, language is useless. This is true for animals. If animals dont speak, its because everythings perfect for them. If one day they start to speak, it will be because the world has lost a certain sort of perfection.”
—Jean Baudrillard (b. 1929)