What is the time complexity of the Quick search algorithm?
(a) O(n)
(b) O(log n)
(c) O(m+n)
(d) O(mn)
I have been asked this question in an online quiz.
Enquiry is from String Matching topic in section String Matching of Data Structures & Algorithms II