Repeated DNA Sequences
You are given a DNA sequence as a string consisting of the letters 'A', 'C', 'G', and 'T'. Your task is to find all the 10-letter-long sequences (substrings) that appear more than once in the DNA sequence. Return a list of these repeated DNA sequences.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)