Skip to content

Commit a10ee58

Browse files
authored
Update special-binary-string.py
1 parent a5492c3 commit a10ee58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/special-binary-string.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Time: f(n) = kf(n/k) + n/k * klogk <= O(logn * nlogk) <= O(n^2)
1+
# Time: f(n) = k * f(n/k) + n/k * klogk <= O(logn * nlogk) <= O(n^2)
22
# n is the length of S, k is the max number of special strings in each depth
33
# Space: O(n)
44

0 commit comments

Comments
 (0)