Computer Science, asked by sweetydahiya956, 1 year ago

First line contains an integer N, denoting the length of string.

Second line contains string S itself consists of small case alphabets only ('a' - 'z').

Third line contains an integer Q denoting number of queries that will be asked.

Next Q lines contains an integer P (1 <= P <= N) for which you need to find the number occurrence of character present at the Pth location preceeding P.

Answers

Answered by thejasnreddy03
0

Answer:

kkdrgdrydrsf

Explanation:

Similar questions