An Improvement on Tree Selection Sort

  • Authors:
  • Jingchao Chen

  • Affiliations:
  • -

  • Venue:
  • ALENEX '02 Revised Papers from the 4th International Workshop on Algorithm Engineering and Experiments
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

The standard Tree Selection Sort is an efficient sorting algorithm but requires extra storage for n-1 pointers and n items. The goal of this paper is to not only reduce the extra storage of Tree Selection Sort to n bits, but also keep the number of comparisons at nlogn+O(n). The improved algorithm makes at most 3n data movements. The empirical results show that the improved algorithm is efficient. In some cases, say moving one item requires at least 3 assignment operations, the algorithm is the fastest on average among known fast algorithms.