We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d35cb commit 6498391Copy full SHA for 6498391
number-of-1-bits/i-mprovising.py
@@ -6,4 +6,3 @@
6
class Solution:
7
def hammingWeight(self, n: int) -> int:
8
return bin(n).count('1')
9
-
0 commit comments