A variant of the Ford--Johnson algorithm that is more space efficient

  • Authors:
  • Mauricio Ayala-Rincón;Bruno T. de Abreu;José de Siqueira

  • Affiliations:
  • Departamento de Matemática, Universidade de Brasília, Brasília D.F., Brazil;Departamento de Ciência da Computação, Universidade Federal de Minas Gerais, Belo Horizonte, Brazil;Departamento de Ciência da Computação, Universidade Federal de Minas Gerais, Belo Horizonte, Brazil

  • Venue:
  • Information Processing Letters
  • Year:
  • 2007

Quantified Score

Hi-index 0.90

Visualization

Abstract

A variant of the Ford-Johnson or merge insertion sorting algorithm that we called four Ford-Johnson ("4FJ, for short) is presented and proved to execute exactly the same number of comparisons than the Ford-Johnson algorithm. The main advantage of our algorithm is that, instead of recursively working over lists of size the half of the input, as the Ford-Johnson algorithm does, "4FJ recursively works over lists of size the quarter of the input. This allows for implementations of data structures for coordinating the recursive calls of size only 33% of the ones needed for the Ford-Johnson algorithm.