Skip to content

Topic: String Matching

33 problems
TitleStatusDifficulty
Find the Index of the First Occurrence in a String—Easy
Shortest Palindrome—Hard
Repeated Substring Pattern—Easy
Subtree of Another Tree—Easy
Repeated String Match—Medium
Rotate String—Easy
Camelcase Matching—Medium
Longest Happy Prefix—Hard
Find All Good Strings—Hard
String Matching in an Arrayread—Easy
Check If a Word Occurs As a Prefix of Any Word in a Sentence—Easy
Maximum Repeating Substring—Easy
Form Array by Concatenating Subarrays of Another Array—Medium
Counting Words With a Given Prefix—Easy
Sum of Scores of Built Strings—Hard
Match Substring After Replacementread—Hard
Maximum Deletions on a String—Hard
String Transformationread—Hard
Find Beautiful Indices in the Given Array I—Medium
Find Beautiful Indices in the Given Array II—Hard
Minimum Time to Revert Word to Initial State I—Medium
Minimum Time to Revert Word to Initial State II—Hard
Number of Subarrays That Match a Pattern I—Medium
Number of Subarrays That Match a Pattern II—Hard
Count Prefix and Suffix Pairs I—Easy
Count Prefix and Suffix Pairs II—Hard
Minimum Number of Valid Strings to Form Target I—Medium
Minimum Number of Valid Strings to Form Target II—Hard
Find the Occurrence of First Almost Equal Substring—Hard
Substring Matching Pattern—Easy
Shortest Matching Substring—Hard
Lexicographically Smallest Generated String—Hard
Count Cells in Overlapping Horizontal and Vertical Substrings—Medium