binding_locations(strA, strB)
My specifications
The first parameter represents a strand of DNA. The second parameter is one strand from a recognition sequence. Return a list of all the indices where the recognition sequence appears in the DNA strand. (These are the restriction sites.)
-------------------------------------------------------
For example, if the DNA palindrome appears at the beginning of the DNA strand, then 0 would be one of the items in the returned list. Look from left to right; dont reverse the first parameter and look backwards.
Help appreciated. Trying to figure this out by drawing float charts for hours lol, but still stuck on the same topic.