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 7d3a257 commit c2b53c2Copy full SHA for c2b53c2
C++/binary-string-with-substrings-representing-1-to-n.cpp
@@ -1,4 +1,4 @@
1
-// Time: O(S^2)
+// Time: O(n^2), n is the length of S
2
// Space: O(1)
3
4
class Solution {
0 commit comments