https://leetcode.com/problems/repeated-dna-sequences/



Runtime: 228 ms, faster than 5.12% of Python3 online submissions for Repeated DNA Sequences.

Memory Usage: 27.7 MB, less than 13.90% of Python3 online submissions for Repeated DNA Sequences.



```python
from collections import Counter

class Solution:
    def findRepeatedDnaSequences(self, s: str) -> List[str]:
        #08:55
        counter = Counter()
        for i, _ in enumerate(s):
            if (i <= len(s) - 10):
                subString = s[i:i+10]
                counter.update([subString])
                #print(subString)
        return [k for k, v in counter.items() if v >= 2]
        #09:02
```
