Count number of bits to be flipped to convert A to B [Amazon]

Problem:

Count number of bits needed to be flipped to convert from integer A to B.

 

Comments are closed.