Cody

Problem 1295. Bit Reversal

Given an unsigned integer x, convert it to binary with n bits, reverse the order of the bits, and convert it back to an integer.

Solution Stats

62.5% Correct | 37.5% Incorrect
Last solution submitted on Jun 12, 2019

Solution Comments