QR Sort: A Novel Non-Comparative Sorting Algorithm
Abstract
In this paper, we introduce and prove QR Sort, a novel non-comparative integer sorting algorithm. This algorithm uses principles derived from the Quotient-Remainder Theorem and Counting Sort subroutines to sort input sequences stably. QR Sort exhibits the general time and space complexity , where denotes the input sequence length, denotes a predetermined positive integer, and denotes the range of input sequence values plus 1. Setting minimizes time and space to , resulting in linear time and space when . We provide implementation optimizations for minimizing the time and space complexity, runtime, and number of computations expended by QR Sort, showcasing its adaptability. Our results reveal that QR Sort frequently outperforms established algorithms and serves as a reliable sorting algorithm for input sequences that exhibit large relative to .
Cite
@article{arxiv.2411.07526,
title = {QR Sort: A Novel Non-Comparative Sorting Algorithm},
author = {Randolph T. Bushman and Tanya M. Tebcherani and Alhassan S. Yasin},
journal= {arXiv preprint arXiv:2411.07526},
year = {2024}
}
Comments
12 pages, 4 figures, 2 Tables