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 0bc5262 commit 2af581dCopy full SHA for 2af581d
number-of-1-bits/bemelon.py
@@ -15,4 +15,4 @@ def hammingWeight(self, n: int) -> int:
15
while n > 0:
16
set_bit_cnt += n & 1
17
n >>= 1
18
- return set_bit_cnt
+ return set_bit_cnt
0 commit comments