Q.

The naive pattern searching algorithm is an in place algorithm.

A. true
B. false
Answer» A. true
Explanation: the auxiliary space complexity required by naive pattern searching algorithm is o(1). so it qualifies as an in place algorithm.
2.1k
0
Do you find this helpful?
20

Discussion

No comments yet