Vidyalelo
Data Structure · Q67

String Matching

Programming · Data Structure · question 67

Q67

Given input string = "ABCDABCATRYCARCABCSRT" and pattern string = "CAT". Find the first index of the pattern match using quick search algorithm.

A.
2
B.
6
Answer
C.
11
D.
14

Answer: Option B

Solution

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