Skip to content

Commit 6e4c239

Browse files
committed
count-set-bits-problem-statement
1 parent 72bbb95 commit 6e4c239

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
"""
2+
COUNT SET BITS - Method 1: Naive Method
3+
4+
Count Number of 1's (set bits) in the binary representation of a given integer.
5+
6+
IP: n = 9 [1001]
7+
OP: 2
8+
9+
TC:
10+
SC:
11+
"""

Diff for: Bit Manipulation/count_set_bit_simple_method.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
"""
2+
COUNT SET BITS - Method 1: Naive Method
3+
4+
Count Number of 1's (set bits) in the binary representation of a given integer.
5+
6+
IP: n = 9 [1001]
7+
OP: 2
8+
9+
TC:
10+
SC:
11+
"""

0 commit comments

Comments
 (0)