Apple Interview Question

Revert an integer bitwise