Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 1295. Bit Reversal

Created by @bmtran

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.

Tags

Problem Group

Solution Statistics

45 correct solutions 22 incorrect solutions
Last solution submitted on Mar 18, 2014

Solution Comments