It is a rainy Sunday. Agata has decided to sort the magazines on her shelf. Because the magazines are quite thin, she refuses to insert one between two others, preferring to move them only to the ends of the shelf. She has conceived a strategy for this but is unsure of its efficiency. Meanwhile, in the adjacent room, her three-year-old son, Szymon, has just finished his Montessori tower puzzle and is figuring out how to put it away. He has adopted a very intuitive approach to nesting the boxes, though he is not certain it will ultimately succeed.Agata and Szymon are employing very primitive strategies. While many sorting algorithms are remarkably simple to explain and implement-specifically, the class of in-place sorting algorithms with O(n(2)) worst-case and average-case running time and constant space requirements (e.g., Bubble Sort, Gnome Sort)-the strategies discussed here offer a unique perspective on "intuitive" sorting. Our contribution aims to enrich the field of simple sorting algorithms. Interestingly, determining the exact worst-case complexity of some of the proposed algorithms remains an open problem.

Fici, G., Mohamed, M., Radoszewski, J. (2026). Sorting Magazines and Boxes. In J. Iacono (a cura di), 13th International Conference on Fun with Algorithms (FUN 2026). OKTAVIE-ALLEE, WADEM, 66687, GERMANY : SCHLOSS DAGSTUHL, LEIBNIZ CENTER INFORMATICS [10.4230/LIPIcs.FUN.2026.17].

Sorting Magazines and Boxes

Fici G.
;
2026-01-01

Abstract

It is a rainy Sunday. Agata has decided to sort the magazines on her shelf. Because the magazines are quite thin, she refuses to insert one between two others, preferring to move them only to the ends of the shelf. She has conceived a strategy for this but is unsure of its efficiency. Meanwhile, in the adjacent room, her three-year-old son, Szymon, has just finished his Montessori tower puzzle and is figuring out how to put it away. He has adopted a very intuitive approach to nesting the boxes, though he is not certain it will ultimately succeed.Agata and Szymon are employing very primitive strategies. While many sorting algorithms are remarkably simple to explain and implement-specifically, the class of in-place sorting algorithms with O(n(2)) worst-case and average-case running time and constant space requirements (e.g., Bubble Sort, Gnome Sort)-the strategies discussed here offer a unique perspective on "intuitive" sorting. Our contribution aims to enrich the field of simple sorting algorithms. Interestingly, determining the exact worst-case complexity of some of the proposed algorithms remains an open problem.
2026
Settore INFO-01/A - Informatica
978-3-95977-417-8
Fici, G., Mohamed, M., Radoszewski, J. (2026). Sorting Magazines and Boxes. In J. Iacono (a cura di), 13th International Conference on Fun with Algorithms (FUN 2026). OKTAVIE-ALLEE, WADEM, 66687, GERMANY : SCHLOSS DAGSTUHL, LEIBNIZ CENTER INFORMATICS [10.4230/LIPIcs.FUN.2026.17].
File in questo prodotto:
File Dimensione Formato  
LIPIcs.FUN.2026.17.pdf

accesso aperto

Tipologia: Versione Editoriale
Dimensione 2.81 MB
Formato Adobe PDF
2.81 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10447/716143
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact