Reverse Bits Solutions in GoNumber 190Difficulty EasyAcceptance 39.9%Link LeetCodeOther languages C++SolutionsGo solution by halfrost/LeetCode-Gopackage leetcode func reverseBits(num uint32) uint32 { var res uint32 for i := 0; i < 32; i++ { res = res<<1 | num&1 num >>= 1 } return res}package leetcode func reverseBits(num uint32) uint32 { var res uint32 for i := 0; i < 32; i++ { res = res<<1 | num&1 num >>= 1 } return res }