Counting Inversions Adaptively
Data Structures and Algorithms
2015-03-05 v1
Abstract
We give a simple and efficient algorithm for adaptively counting inversions in a sequence of integers. Our algorithm runs in time in the word-RAM model of computation, where is the number of inversions.
Cite
@article{arxiv.1503.01192,
title = {Counting Inversions Adaptively},
author = {Amr Elmasry},
journal= {arXiv preprint arXiv:1503.01192},
year = {2015}
}
Comments
5 pages