0

Input:

strA = "ATATATGCGATAT"
strB = "ATAT"

output:

0 2 9

I was looking for a way to find the starting positions in a string (strA), every time a pattern (strB) starts.

Sukanta
  • 75
  • 6

0 Answers0