Skip to content

Topic: String Matching

33 problems
TitleStatusDifficulty
Find the Index of the First Occurrence in a StringEasy
Shortest PalindromeHard
Repeated Substring PatternEasy
Subtree of Another TreeEasy
Repeated String MatchMedium
Rotate StringEasy
Camelcase MatchingMedium
Longest Happy PrefixHard
Find All Good StringsHard
String Matching in an ArrayreadEasy
Check If a Word Occurs As a Prefix of Any Word in a SentenceEasy
Maximum Repeating SubstringEasy
Form Array by Concatenating Subarrays of Another ArrayMedium
Counting Words With a Given PrefixEasy
Sum of Scores of Built StringsHard
Match Substring After ReplacementreadHard
Maximum Deletions on a StringHard
String TransformationreadHard
Find Beautiful Indices in the Given Array IMedium
Find Beautiful Indices in the Given Array IIHard
Minimum Time to Revert Word to Initial State IMedium
Minimum Time to Revert Word to Initial State IIHard
Number of Subarrays That Match a Pattern IMedium
Number of Subarrays That Match a Pattern IIHard
Count Prefix and Suffix Pairs IEasy
Count Prefix and Suffix Pairs IIHard
Minimum Number of Valid Strings to Form Target IMedium
Minimum Number of Valid Strings to Form Target IIHard
Find the Occurrence of First Almost Equal SubstringHard
Substring Matching PatternEasy
Shortest Matching SubstringHard
Lexicographically Smallest Generated StringHard
Count Cells in Overlapping Horizontal and Vertical SubstringsMedium