EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC-ND 4.0

A Novel Odd-Even Based Sorting Algorithm for Integers: An Experimental Comparison

Saleh Ismail Salous, Rami Mohammed Amro

مجلة العلوم الهندسية و تكنولوجيا المعلومات · 15.06.2026 · 10 (2) · 109-117

DOI: 10.26389/ajsrp.r261025 ↗

Kurz gefasst

Fachartikel in der Zeitschrift مجلة العلوم الهندسية و تكنولوجيا المعلومات, erschienen am 15.06.2026. Verfasst von Saleh Ismail Salous und 1 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-NC-ND 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Sorting algorithms are of immense importance in the statistics of data science. In this study, we present a novel sorting algorithm applied to datasets of size (n) composed of random positive integers with and without redundancy, the integers take a random value from 1 to M. Our algorithm proceeds by separating the dataset to odd and even subsets, move elements to sorted array if they are equal 1, then dividing the remaining elements by 2. The algorithm iterates, progressively, deleting elements within the range [2j-2j+1) , j=1,2,…, floor{ log2(M)} ,upon reaching the value 1 after dividing by 2; reducing memory overhead. We provide a comprehensive implementation in C++ and evaluate its performance against established sorting algorithms, such as merge, insertion, heap, quick and radix, showcasing its effectiveness in real-world scenarios. Through numerical experiments, the algorithm was applied to datasets ranging in size from n= 10000 to n= 200000 integers. The algorithm's design capitalizes on bitwise shifting techniques, contributing to its processing speed. We noticed that the time complexity of the algorithm is of the order O(nlog2(M)) in the worst case. Moreover, it operates fast on redundant datasets, compared to datasets without repeated integers. The space complexity of the algorithm found to be O(n) in the worst case.

Zitieren

APA

Salous, S. I., & Amro, R. M. (2026). A Novel Odd-Even Based Sorting Algorithm for Integers: An Experimental Comparison. مجلة العلوم الهندسية و تكنولوجيا المعلومات, 10(2), 109-117. https://doi.org/10.26389/ajsrp.r261025

Vancouver

Salous SI, Amro RM. A Novel Odd-Even Based Sorting Algorithm for Integers: An Experimental Comparison. مجلة العلوم الهندسية و تكنولوجيا المعلومات. 2026;10(2):109-117. doi:10.26389/ajsrp.r261025

BibTeX
@article{Salous2026,
  author = {Salous, Saleh Ismail and Amro, Rami Mohammed},
  title = {A Novel Odd-Even Based Sorting Algorithm for Integers: An Experimental Comparison},
  journal = {مجلة العلوم الهندسية و تكنولوجيا المعلومات},
  year = {2026},
  volume = {10},
  number = {2},
  pages = {109--117},
  doi = {10.26389/ajsrp.r261025}
}
Kostenlos starten →