:type x: int :type y: int :rtype: int
(self, x, y)
| 27 | |
| 28 | class Solution(object): |
| 29 | def hammingDistance(self, x, y): |
| 30 | """ |
| 31 | :type x: int |
| 32 | :type y: int |
| 33 | :rtype: int |
| 34 | """ |
| 35 | return str(bin(x ^ y)).count('1') |
| 36 |
nothing calls this directly
no outgoing calls
no test coverage detected