We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5492c3 commit a10ee58Copy full SHA for a10ee58
Python/special-binary-string.py
@@ -1,4 +1,4 @@
1
-# Time: f(n) = kf(n/k) + n/k * klogk <= O(logn * nlogk) <= O(n^2)
+# Time: f(n) = k * f(n/k) + n/k * klogk <= O(logn * nlogk) <= O(n^2)
2
# n is the length of S, k is the max number of special strings in each depth
3
# Space: O(n)
4
0 commit comments