Skip to content

Commit c2bcc56

Browse files
authored
Update extra-characters-in-a-string.cpp
1 parent 93295df commit c2bcc56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/extra-characters-in-a-string.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Time: O(n * l), l is max(len(w) for w in dictionary)
1+
// Time: O((n + m) * l), l is max(len(w) for w in dictionary)
22
// Space: O(n + t)
33

44
// trie, dp

0 commit comments

Comments
 (0)