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

52 correct solutions 23 incorrect solutions
Last solution submitted on Aug 28, 2014

Solution Comments