Repeated Dna Sequences

easy
1. You will be given a string with combination of DNA nucleotides A,C,G,T 2. You need to print all 10 character long sequences, that are repeating in the given string of nucleotides 3. Input and output is handled for you 4. It is a functional problem ,please do not modify main()

Input Format

Input is handled for you.

Output Format

output is handled for you

Constraints

Only A,C,G,T will be characters in the string
 You only need to print 10 character long sequences

Notice

Try First, Check Solution later

1. You should first read the question and watch the question video.
2. Think of a solution approach, then try and submit the question on editor tab.
3. We strongly advise you to watch the solution video for prescribed approach.

Example

Input
ACCCCCCCAAACCCCCCCGTAAAAAACCCCCCCGTGGGGGTACCCCCCCAA
Output
[ACCCCCCCAA, ACCCCCCCGT, AAACCCCCCC, AACCCCCCCG]
Previous
Repetition Of K Length Substring
Next
Minimum Index Sum Of Two Lists

Related Questions