Pergunta de entrevista da empresa Rivian

Bit manipulation, swap adjacent bits of a number