Repeated Substring Pattern
Decide whether a string can be built by repeating one of its shorter substrings several times. The visual tries each candidate length that divides the string and shows whether the repeated copies rebuild it exactly.
Decide whether a string can be built by repeating one of its shorter substrings several times. The visual tries each candidate length that divides the string and shows whether the repeated copies rebuild it exactly.