Coggle requires JavaScript to display documents.
&
1
>>
java.lang.Math.abs()
class Solution:
def hammingDistance(self, x, y):
return bin(x^y).count('1')