We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e31826 commit 5a19d17Copy full SHA for 5a19d17
C++/binary-gap.cpp
@@ -1,4 +1,4 @@
1
-// Time: O(logn)
+// Time: O(logn) = O(1) due to n is a 32-bit number
2
// Space: O(1)
3
4
class Solution {
0 commit comments