58 Star 717 Fork 331

doocs/leetcode

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
Solution.java 171 Bytes
Copy Edit Raw Blame History
ylb authored 2024-01-13 15:51 +08:00 . feat: add solutions to lc project (#2212)
class Solution {
public boolean repeatedSubstringPattern(String s) {
String str = s + s;
return str.substring(1, str.length() - 1).contains(s);
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/Doocs/leetcode.git
[email protected]:Doocs/leetcode.git
Doocs
leetcode
leetcode
main

Search