An in-place, subquadratic algorithm for permutation inversion
Grzegorz Gu\'spiel

TL;DR
This paper introduces a deterministic in-place permutation inversion algorithm with subquadratic time complexity, improving over traditional methods that are quadratic or randomized, thus offering a more efficient solution for large permutations.
Contribution
The paper presents the first deterministic in-place permutation inversion algorithm with a time complexity of O(n^{3/2}), surpassing previous quadratic or randomized approaches.
Findings
Deterministic algorithm runs in O(n^{3/2}) time
In-place inversion uses only O(log n) bits of extra memory
Improves worst-case performance over existing methods
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicsgraph theory and CDMA systems · Algorithms and Data Compression · Coding theory and cryptography
