Vidyalelo
Data Structure · Q41

String Matching

Programming · Data Structure · question 41

Q41

What is the time complexity of string matching using a suffix tree?

A.
O(m*n)
B.
O(m log n)
C.
O(n)
D.
O(m + n)
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board