Faster sorting algorithms discovered using deep reinforcement learning

DJ Mankowitz, A Michi, A Zhernov, M Gelmi, M Selvi… - Nature, 2023 - nature.com
Fundamental algorithms such as sorting or hashing are used trillions of times on any given
day. As demand for computation grows, it has become critical for these algorithms to be as …

A survey of adaptive sorting algorithms

V Estivill-Castro, D Wood - ACM Computing Surveys (CSUR), 1992 - dl.acm.org
The design and analysis of adaptive sorting algorithms has made important contributions to
both theory and practice. The main contributions from the theoretical point of view are: the …

MoDLE: high-performance stochastic modeling of DNA loop extrusion interactions

R Rossini, V Kumar, A Mathelier, T Rognes, J Paulsen - Genome Biology, 2022 - Springer
DNA loop extrusion emerges as a key process establishing genome structure and function.
We introduce MoDLE, a computational tool for fast, stochastic modeling of molecular …

Strategies for stable merge sorting

S Buss, A Knop - Proceedings of the Thirtieth Annual ACM-SIAM …, 2019 - SIAM
We introduce new stable natural merge sort algorithms, called 2-merge sort and α-merge
sort. We prove upper and lower bounds for several merge sort algorithms, including Timsort …

Indexing for near-sorted data

A Raman, S Sarkar, M Olma… - 2023 IEEE 39th …, 2023 - ieeexplore.ieee.org
Indexing in modern data systems facilitates efficient query processing when the selection
predicate is on an indexed key. As new data is ingested, indexes are gradually populated …

A framework for adaptive sorting

O Petersson, A Moffat - Discrete Applied Mathematics, 1995 - Elsevier
A sorting algorithm is adaptive if it sorts sequences that are close to sorted faster than
random sequences, where the distance is determined by some measure of presortedness …

[HTML][HTML] The weak-heap data structure: Variants and applications

S Edelkamp, A Elmasry, J Katajainen - Journal of Discrete Algorithms, 2012 - Elsevier
The weak heap is a priority queue that was introduced as a competitive structure for sorting.
Its array-based form supports the operations find-min in O (1) worst-case time, and insert …

[HTML][HTML] Efficient counting of square substrings in a tree

T Kociumaka, J Pachocki, J Radoszewski… - Theoretical Computer …, 2014 - Elsevier
We give an algorithm which in O (n log 2 n) time counts all distinct squares in a labeled tree.
There are two main obstacles to overcome. The first one is that the number of distinct …

Tradeoffs between branch mispredictions and comparisons for sorting algorithms

GS Brodal, G Moruz - Algorithms and Data Structures: 9th International …, 2005 - Springer
Branch mispredictions is an important factor affecting the running time in practice. In this
paper we consider tradeoffs between the number of branch mispredictions and the number …

Cache-aware and cache-oblivious adaptive sorting

GS Brodal, R Fagerberg, G Moruz - … ICALP 2005, Lisbon, Portugal, July 11 …, 2005 - Springer
Two new adaptive sorting algorithms are introduced which perform an optimal number of
comparisons with respect to the number of inversions in the input. The first algorithm is …