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