Skip to content

Commit f4d7f0d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a551700 commit f4d7f0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bit_manipulation/count_number_of_one_bits.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def get_set_bits_count_using_lookup_table(number: int) -> int:
6666
6767
Note: I see similar approach in GeeksforGeeks, but their implementation is little different.
6868
Link to Code: https://www.geeksforgeeks.org/dsa/count-set-bits-integer-using-lookup-table/
69-
69+
7070
>>> get_set_bits_count_using_lookup_table(25)
7171
3
7272
>>> get_set_bits_count_using_lookup_table(37)
@@ -98,7 +98,6 @@ def get_set_bits_count_using_lookup_table(number: int) -> int:
9898
)
9999

100100

101-
102101
def benchmark() -> None:
103102
"""
104103
Benchmark code for comparing 3 functions, with different length int values.

0 commit comments

Comments
 (0)