Q70
What is the time complexity of Z algorithm for pattern searching (m = length of text, n = length of pattern)?
A.
O(n)
B.
O(m)
C.
O(n + m)
AnswerD.
O(m * n)
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board