Mirror the Bits — Solution & Editorial
Peel bits from one side and push them onto the other, 32 times (or use the divide-and-conquer mask swap).
Complexity: O(32)
Peel bits from one side and push them onto the other, 32 times (or use the divide-and-conquer mask swap).
Complexity: O(32)