Page 1 of 1

What is a time complexity for checking a string of length n is substring or not?

Posted: Wed Jul 13, 2022 7:43 pm
by answerhappygod
a) O (log n!)
b) O (n!)
c) O (n2)
d) O (n)