Sorting on defective VLSI-arrays
Integration, the VLSI Journal
Randomized algorithms
The art of computer programming, volume 3: (2nd ed.) sorting and searching
The art of computer programming, volume 3: (2nd ed.) sorting and searching
Periodification scheme: constructing sorting networks with constant period
Journal of the ACM (JACM)
GI - 13. Jahrestagung
Local Divergence of Markov Chains and the Analysis of Iterative Load-Balancing Schemes
FOCS '98 Proceedings of the 39th Annual Symposium on Foundations of Computer Science
Computational geometric aspects of rhythm, melody, and voice-leading
Computational Geometry: Theory and Applications
Sorting the slow way: an analysis of perversely awful randomized sorting algorithms
FUN'07 Proceedings of the 4th international conference on Fun with algorithms
The geometry of musical rhythm
JCDCG'04 Proceedings of the 2004 Japanese conference on Discrete and Computational Geometry
CATS '13 Proceedings of the Nineteenth Computing: The Australasian Theory Symposium - Volume 141
Hi-index | 0.00 |
Usually, binary search only makes sense in sorted arrays. We show that insertion sort based on repeated "binary searches" in an initially unsorted array also sorts n elements in time Θ(n2 log n). If n is a power of two, then the expected termination point of a binary search in a random permutation of n elements is exactly the cell where the element should be if the array was sorted. We further show that we can sort in expected time Θ(n2 log n) by always picking two random cells and swapping their contents if they are not ordered correctly.