An in-place, subquadratic algorithm for permutation inversion
Data Structures and Algorithms
2020-04-22 v2
Abstract
We assume the permutation is given by an -element array in which the -th element denotes the value . Constructing its inverse in-place (i.e. using bits of additional memory) can be achieved in linear time with a simple algorithm. Limiting the numbers that can be stored in our array to the range still allows a straightforward time solution. The time complexity can be improved using randomization, but this only improves the expected, not the pessimistic running time. We present a deterministic algorithm that runs in time.
Cite
@article{arxiv.1901.01926,
title = {An in-place, subquadratic algorithm for permutation inversion},
author = {Grzegorz Guśpiel},
journal= {arXiv preprint arXiv:1901.01926},
year = {2020}
}