Convert a given integer to its binary string representation, reverse the bits/characters in the string, and convert the reversed binary string back to a decimal integer.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.