AlgoMaster Logo

Reverse Bits

n=43
0 / 26
n76543210result7654321000101011
algomaster.io
Step:Reverse the 8 bits of n = 43 (00101011): pull bits off the right of n and push them onto the right of result