arrow
Return

A sorting algorithm based on ordered block insertions

delete2022-10-01
delete1
PRE
AI
H
Héctor Ferrada *
DOI:10.1016/j.jocs.2022.101866delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Among the comparison-based algorithms, INSERTIONSORT is recognized as one of the fastest methods to sort relatively small data sets, or when the elements are relatively ordered. However, due to not offering good asymptotic complexity in its runtime, it performs very poorly both in the worst case and in the average case for most large data collections. In this article we offer a new sorting algorithm based on orderer block insertions with worst case optimal time. At the cost of an additional memory space of nk words, for any constant k, our algorithm is able to easily transform it into an in-place algorithm with a time of symbolscript in the worst case. Empirically, our method outperforms symbolscript in all the different cases tested, even for small input collections. Furthermore, our experiments show that, for small or large datasets from either of the two main probability distributions-Uniform and Normal; our algorithms also outperform any traditional method like symbolscript symbolscript or symbolscript and even better than the efficient hybrid algorithm symbolscript symbolscript method provided by the GNU C++ Standard Library.
Keywords:
Sorting algorithm
Insertionsort
Optimal time sorting
errShare
errSave
errShare
errSave
Optimal and practical algorithms for sorting on the PDM
err2008-01-01
err9
errOAAI
errRajasekaran, Sanguthevar; Sen, Sandeep
errShare
errSave

Journal

Nature Computational Science cover
Nature Computational Science
IF:
18.3
Papers:
3.1K
Citations:
7.1K

Organization

U
universidad austral de chile
Scholars:
181
Papers: 84
Citations: 1.4K
Cited Papers

Cited Papers

GPU parallel simulation algorithm of Brownian particles with excluded volume using Delaunay triangulations
err2018-08-01
err6
errOAAI
errCarter, Francisco; Hitschfeld, Nancy; Navarro, Cristobal A.; Soto, Rodrigo
errShare
errSave
errShare
errSave
Exact String Matching Algorithms: Survey, Issues, and Future Research Directions
err2019-01-01
err48
errOAAI
errHakak, Saqib Iqbal; Kamsin, Amirrudin; Shivakumara, Palaiahnakote; Gilkar, Gulshan Amin; Khan, Wazir Zada; Imran, Muhammad
errShare
errSave
Impact of a Formative Program on Transgender Healthcare for Nursing Students and Health Professionals. Quasi-Experimental Intervention Study
err2019-09-02
err0
errOAAI
errJesús Manuel García-Acosta; Maria Elisa Castro-Peraza; Ángeles Arias Rodriguez; María Luisa Perez-Cánovas; Maria Inmaculada Sosa-Alvarez; Rosa Llabrés-Solé; Ana María Perdomo-Hernández; Nieves Doria Lorenzo-Rocha
errShare
errSave
Efficient Construction and Simplification of Delaunay Meshes
err2015-11-02
err45
errOAAI
errLiu, Yong-Jin; Xu, Chun-Xu; Fan, Dian; He, Ying
errShare
errSave
The Role of Diet in Shaping the Chemical Signal Design of Lacertid Lizards
err2017-09-16
err0
errOAAI
errSimon Baeckens; Roberto García-Roa; José Martín; Raoul Van Damme
errShare
errSave
researcher View more