You are on page 1of 1

1. Take a string x and a substring k from console and find the total number occurrences of k in x.

[10]

Sample Input:

QAQRRAQAQTDQAQ

QAQ

Output:

You might also like