Repeated DNA Sequences
Find all 10-character-long substrings that occur more than once in a DNA sequence. DNA sequences consist of the nucleotides 'A', 'C', 'G', and 'T'. Return the repeated substrings in any order.
Find all 10-character-long substrings that occur more than once in a DNA sequence. DNA sequences consist of the nucleotides 'A', 'C', 'G', and 'T'. Return the repeated substrings in any order.