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 d39ddcd commit ee4469dCopy full SHA for ee4469d
number-of-1-bits/hyunjung-choi.kt
@@ -0,0 +1,3 @@
1
+class Solution {
2
+ fun hammingWeight(n: Int) = Integer.bitCount(n)
3
+}
0 commit comments