Inverse Algorithm for partial bit reverse
I have written this algorithm to perform a stable bit revere sorting considering only n least significant bits:
I have written this algorithm to perform a stable bit revere sorting considering only n least significant bits: