[Community Puzzle] Binary Permutations

https://www.codingame.com/training/hard/binary-permutations

Send your feedback or ask for help here!

The position of the input bit may not be the same as the position of the corresponding output bit, but all output bits are mapped from different input bits.

Weird wording. The position may be actually be the same too.