We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d0282c commit 769fd73Copy full SHA for 769fd73
src/main/java/com/fishercoder/solutions/_459.java
@@ -1,28 +1,5 @@
1
package com.fishercoder.solutions;
2
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
22
23
- Explanation: It's the substring "abc" four times. (And the substring "abcabc" twice.)
24
- */
25
26
public class _459 {
27
28
public static class Solution1 {
0 commit comments