Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5562b64

Browse files
refactor 187
1 parent82f04fd commit5562b64

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
importjava.util.List;
66
importjava.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
publicclass_187 {
239
publicstaticclassSolution1 {
2410
publicList<String>findRepeatedDnaSequences(Strings) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp