Binary treesort


tree := nil; for i:=1 to n do insert( tree, <ith-key> ); output_infix( tree );

Pascal source (426.treesort.p)



© Addison-Wesley Publishing Co. Inc.