Skip to content

Commit 875a897

Browse files
authored
Update binary-gap.py
1 parent 10a6a13 commit 875a897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/binary-gap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Time: O(logn)
1+
# Time: O(logn) = O(1) due to n is 32-bit number
22
# Space: O(1)
33

44
# Given a positive integer N, find and return the longest distance

0 commit comments

Comments
 (0)