G-2025-54
Optimal sorting with comparisons involving three elements
BibTeX reference
The present work studies the problem of sorting using comparisons involving three elements at a time.
Each comparison only identifies the smallest, middle, and largest elements among the three.
We propose an algorithm based on six heuristic strategies, aiming to minimize the number of comparisons in the worst case.
We report optimal or near-optimal results for all values up to \(n=40\) elements, and for selected instances up to \(n=1000\).
Published August 2025 , 10 pages
Research Axis
Document
G2554.pdf (500 KB)