Problem
The DNA sequence is composed of a series of nucleotides abbreviated as'A', 'C', 'G', and 'T'.
- For example,
"ACGAATTCCG"is a DNA sequence.
s that represents a DNA sequence, return all the 10-letter-long sequences (substrings) that occur more than once in a DNA molecule. You may return the answer in any order.
Examples
Constraints
- 1 <= s.length <= 10<sup>5</sup>
s[i]is either'A','C','G', or'T'.