We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a678ca commit 1113e49Copy full SHA for 1113e49
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