摘要:
LeetCode 459. Repeated Substring Pattern (重复的子字符串) 题目 链接 https://leetcode.cn/problems/repeated-substring-pattern/ 问题描述 给定一个非空的字符串 s ,检查是否可以通过由它的一个子串重复 阅读全文
posted @ 2022-05-26 11:32
cheng102e
阅读(66)
评论(0)
推荐(0)
摘要:
LeetCode 28. Implement strStr() (实现 strStr()) 题目 链接 问题描述 给你两个字符串 haystack 和 needle ,请你在 haystack 字符串中找出 needle 字符串出现的第一个位置(下标从 0 开始)。如果不存在,则返回 -1 。 说明 阅读全文
posted @ 2022-05-26 11:26
cheng102e
阅读(14)
评论(0)
推荐(0)

浙公网安备 33010602011771号