Search
⌘K

Leetcode 459. Repeated Substring Pattern

Check whether a string can be formed by repeating a smaller substring multiple times — i.e., whether it has a non‑trivial period. Constraint: 1 ≤ s.length ≤ 10^4.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Your account is free and you can post anonymously if you choose.