
TL;DR
This paper introduces in-situ associative permuting, a space-efficient method for permuting and sorting integer arrays in-place with minimal extra space, combining permuting and inverting techniques.
Contribution
It presents a novel in-situ associative permuting technique that efficiently permutes and sorts integer arrays using only logarithmic additional bits.
Findings
Permutes array elements in O(n) time with logn bits of extra space.
Transforms keys into associatively permutable permutations.
Enables in-place sorting of integer keys with minimal auxiliary space.
Abstract
The technique of in-situ associative permuting is introduced which is an association of in-situ permuting and in-situ inverting. It is suitable for associatively permutable permutations of {1,2,...,n} where the elements that will be inverted are negative and stored in order relative to each other according to their absolute values. Let K[1...n] be an array of n integer keys each in the range [1,n], and it is allowed to modify the keys in the range [-n,n]. If the integer keys are rearranged such that one of each distinct key having the value i is moved to the i'th position of K, then the resulting arrangement (will be denoted by K^P) can be transformed in-situ into associatively permutable permutation pi^P using only logn additional bits. The associatively permutable permutation pi^P not only stores the ranks of the keys of K^P but also uniquely represents K^P. Restoring the keys from…
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
TopicsCoding theory and cryptography · graph theory and CDMA systems · Algorithms and Data Compression
