Repeated Substring Pattern
Print true if the string can be built by repeating one of its substrings two or more times, otherwise false.
Constraints
1 <= len(s) <= 10^4
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.