GOT[求购]10 Huggies coupon $1.5 off any pack# PennySaver - 省钱一族
s*g
1 楼
Reverse bits of a given 32 bits unsigned integer.
For example, given input 43261596 (represented in binary as
00000010100101000001111010011100), return 964176192 (represented in binary
as 00111001011110000010100101000000).
Follow up:
If this function is called many many times, how would you optimize it?
这个followup应该怎么解决呢?之前其他的题也被问过类似的问题。谢谢
For example, given input 43261596 (represented in binary as
00000010100101000001111010011100), return 964176192 (represented in binary
as 00111001011110000010100101000000).
Follow up:
If this function is called many many times, how would you optimize it?
这个followup应该怎么解决呢?之前其他的题也被问过类似的问题。谢谢