I’ve started this project in Java and I think there might be a slightly problem with the written instructions.
It has said that a DNA sequence needs:
Start with ATG
End with TGA
All the substrings in the middle divided by 3.
So why in the instruction they said that the variable start (which is equal to a DNA string at the index of where “ATG” is located…) All good so far but in the if condition they said if (start != -1) which is not quite true because the substring “ATG” can be in another place such as from the 5th char so this condition doesn’t make any sense logically…
Would love to hear from you what you are thinking about this.