preprint
Open access
Counting Inversions Adaptively
Research footprint
At a glance
- Citations
- 0
- References
- 8
- Comments
- 0
Paper overview
Abstract
We give a simple and efficient algorithm for adaptively counting inversions in a sequence of $n$ integers. Our algorithm runs in $O(n + n \sqrt{\lg{(Inv/n)}})$ time in the word-RAM model of computation, where $Inv$ is the number of inversions.
Record transparency
Publication details
- DOI
- 10.48550/arxiv.1503.01192
- OpenAlex
- W2951277873
- Document type
- preprint
- Language
- EN
- Source
- arXiv (Cornell University)
- Last metadata update
Comments
Log in to join the discussion.