Encroaching lists as a measure of presortedness (Q1115201)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | Encroaching lists as a measure of presortedness |
scientific article |
Statements
Encroaching lists as a measure of presortedness (English)
0 references
1988
0 references
Encroaching lists are a generalization of monotone sequences in permutations. Since ordered permutations contain fewer encroaching lists than random ones, the number of such lists m provides a measure of presortedness with advantages over others in the literature. Experimental and analytic results are presented to cast light on the properties of encroaching lists. Also, we describe a new sorting algorithm, melsort, with complexity O(n log m). Thus it is linear for well ordered sets and reduces to mergesort and O(n log n) in the worst case.
0 references
permutations
0 references
encroaching lists
0 references
presortedness
0 references
sorting
0 references
melsort
0 references