Skip to content

Commit a92b14b

Browse files
authored
Merge pull request #970 from gmlwls96/main
[gmlwls96] Week8
2 parents 4d6eba7 + 0897abc commit a92b14b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

number-of-1-bits/gmlwls96.kt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class Solution {
2+
fun hammingWeight(n: Int): Int = n.countOneBits()
3+
}

0 commit comments

Comments
 (0)