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 9c5dd37 commit c46ca2eCopy full SHA for c46ca2e
Python/stream-of-characters2.py
@@ -2,7 +2,7 @@
2
# , p is the number of patterns
3
# query: O(m + z), m is the total size of query string
4
# , z is the number of all matched strings
5
-# , query would be O(m) if we don't use all the matched patterns
+# , query time would be O(m) if we don't use all the matched patterns
6
# Space: O(t + p^2), t is the total size of ac automata trie
7
# , space could be further improved by DAT (double-array trie)
8
0 commit comments