β
Correct Answer: (B)
o(m)
Explanation: z algorithm is an efficient pattern searching algorithm as it searches the pattern in linear time. it an auxiliary space of o(m) for maintaining z array.
Explanation by: Mr. Dubey
z algorithm is an efficient pattern searching algorithm as it searches the pattern in linear time. it an auxiliary space of o(m) for maintaining z array.
Discussion
Question Analytics
767
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
94%
Success Rate