We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93295df commit c2bcc56Copy full SHA for c2bcc56
C++/extra-characters-in-a-string.cpp
@@ -1,4 +1,4 @@
1
-// Time: O(n * l), l is max(len(w) for w in dictionary)
+// Time: O((n + m) * l), l is max(len(w) for w in dictionary)
2
// Space: O(n + t)
3
4
// trie, dp
0 commit comments