Skip to content

Commit 1113e49

Browse files
authored
Update binary-gap.cpp
1 parent 8a678ca commit 1113e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/binary-gap.cpp

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

44
class Solution {

0 commit comments

Comments
 (0)