Thank you for taking the time, your understanding is very accurate. If
we enumerate each result, the complexity still needs to be amplified to
n!. But from the perspective of building results, it can already be
evenly divided into less than one instruction. This result takes into
account all costs, and the RCPA algorithm is still faster than any
current full permutation generation algorithm, making the generation
algorithm as cost free as assignment.
For the method of fixing the head, the efficiency will be lower.
From
a purely technical perspective, we have achieved a construction
complexity that is less than the complexity of the output result.
Algorithms have the benefits of parallelism and randomness.
I also don't know what use it is for super permutation. Quick construction?