Leetcode459.『重复的子字符串』学习笔记

发布时间:2026/5/30 0:31:52

Leetcode459.『重复的子字符串』学习笔记 通过“周期噪声法”进行判断classSolution:defrepeatedSubstringPattern(self,s:str)-bool:returnsin(ss)[1:-1]

相关新闻