Write a code to reverse binary bit pattern for an integer without using any string or utility methods?
Anonymous
there is rol and ror operations which can be useful to shift places and also the left most digit can move to the end during the operation.
Check out your Company Bowl for anonymous work chats.