Skip to content

Commit 5a19d17

Browse files
authored
Update binary-gap.cpp
1 parent 1e31826 commit 5a19d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/binary-gap.cpp

+1-1
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 a 32-bit number
22
// Space: O(1)
33

44
class Solution {

0 commit comments

Comments
 (0)