What is the space complexity of quick search algorithm?
(a) O(n)
(b) O(log n)
(c) O(m+n)
(d) O(mn)
This question was addressed to me in homework.
I'd like to ask this question from String Matching in section String Matching of Data Structures & Algorithms II