Skip to content

Commit 5562b64

Browse files
refactor 187
1 parent 82f04fd commit 5562b64

File tree

1 file changed

+0
-14
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-14
lines changed

src/main/java/com/fishercoder/solutions/_187.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,6 @@
55
import java.util.List;
66
import java.util.Map;
77

8-
/**
9-
* 187. Repeated DNA Sequences
10-
*
11-
* All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T,
12-
* for example: "ACGAATTCCG". When studying DNA, it is sometimes useful to identify repeated sequences within the DNA.
13-
* Write a function to find all the 10-letter-long sequences (substrings) that occur more than once in a DNA molecule.
14-
15-
For example,
16-
17-
Given s = "AAAAACCCCCAAAAACCCCCCAAAAAGGGTTT",
18-
19-
Return:
20-
["AAAAACCCCC", "CCCCCAAAAA"].
21-
*/
228
public class _187 {
239
public static class Solution1 {
2410
public List<String> findRepeatedDnaSequences(String s) {

0 commit comments

Comments
 (0)