+ 2

[challenge] -given 2 integer .Find the position of the right most bit in which they differ in their binary representation.

counting right to left . return value of 2^position. input- --------- 2 positive integer , space separated. output- ---------- 2^position of the right most bit which differ. constrain- --------------- n<m 0<=m<=2^30 n!=m(not equal ) --------------------------------------------- all languages are welcomed.

17th Dec 2017, 6:47 PM
S O U ✌ I K
S O U ✌ I K - avatar
1 Answer
18th Dec 2017, 5:47 AM
Lindsay Linjie Chen
Lindsay Linjie Chen - avatar