Skip to content

Commit 769fd73

Browse files
refactor 459
1 parent 3d0282c commit 769fd73

File tree

1 file changed

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

1 file changed

+0
-23
lines changed

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 459. Repeated Substring Pattern
5-
* Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the substring together.
6-
* You may assume the given string consists of lowercase English letters only and its length will not exceed 10000.
7-
8-
Example 1:
9-
Input: "abab"
10-
11-
Output: True
12-
13-
Explanation: It's the substring "ab" twice.
14-
Example 2:
15-
Input: "aba"
16-
17-
Output: False
18-
Example 3:
19-
Input: "abcabcabcabc"
20-
21-
Output: True
22-
23-
Explanation: It's the substring "abc" four times. (And the substring "abcabc" twice.)
24-
*/
25-
263
public class _459 {
274

285
public static class Solution1 {

0 commit comments

Comments
 (0)