Leetcode-459-Repeated Substring Pattern

Repeated Substring Patternleetcode: https://leetcode.com/problems/repeated-substring-pattern/Description:Given a string s, check if it can be construc
Leetcode String 2022/07/11 389 views

Leetcode-28-Implement strStr()-KMP

Implement strStr()leetcode: https://leetcode.com/problems/implement-strstr/Description:Implement strStr().Given two strings needle and haystack, retur
Leetcode String 2022/07/11 452 views

Leetcode-Left Roate the String

Left Roate the Stringleetcode: https://leetcode.cn/problems/zuo-xuan-zhuan-zi-fu-chuan-lcofDescription:The left rotation operation of a string is to t
Leetcode String 2022/07/11 381 views

Leetcode-151-Reverse Words in a String

Reverse Words in a Stringleetcode: https://leetcode.com/problems/reverse-words-in-a-string/Description:Given an input string s, reverse the order of t
Leetcode String 2022/07/11 404 views

Leetcode-Replace Space in the String

Replace Space to %20 in the String**leetcode:https://leetcode.cn/problems/ti-huan-kong-ge-lcof/Description:Please implement a function that replaces
Leetcode String 2022/07/11 422 views

Leetcode-541-Reverse String 2

**leetcode:**https://leetcode.com/problems/reverse-string-iiDescription:Given a string s and an integer k, reverse the first k characters for every 2k
Leetcode String 2022/07/10 402 views

Leetcode-344-Reverse String

leetcode:https://leetcode.com/problems/reverse-stringDesciption:Write a function that reverses a string. The input string is given as an array of char
Leetcode String 2022/07/10 427 views