```
class Solution(object):
def findRepeatedDnaSequences(self, s):
"""
:type s: str
:rtype: List[str]
"""
res = set()
sets= set()
for i in range(len(s) - 9):
if s[i:i + 10] in sets:
res.add(s[i:i + 10])
else:
sets.add(s[i:i + 10])
return list(res)
```