#how to search word and count it using random string
1 messages · Page 1 of 1 (latest)
u cant reuse the letter twice
1 messages · Page 1 of 1 (latest)
It's unclear what is your task. For example if I'm searching word "BAG" in this string the answer is 2?
ABCDEFGHIABCDEFGHIABCDEFGHIABCDEFGHI
B A G B A G
Or order doesn't matter?
Also your target word has letter A twice. Can you reuse letter twice from random string?
u cant reuse the letter twice