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 68bc62b commit 9401aaaCopy full SHA for 9401aaa
number-of-1-bits/yeongu.cpp
@@ -1,3 +1,6 @@
1
+// Time complexity: O(n) 왜냐하면, while문
2
+// Space complexity: O(1)
3
+
4
class Solution {
5
public:
6
int hammingWeight(int n) {
0 commit comments