Skip to content

Topic: Rolling Hash

25 problems
TitleStatusDifficulty
Repeated DNA SequencesMedium
Shortest PalindromeHard
Maximum Length of Repeated SubarrayMedium
Longest Duplicate SubstringHard
Longest Chunked Palindrome DecompositionHard
Distinct Echo SubstringsHard
Longest Happy PrefixHard
Check If a String Contains All Binary Codes of Size KMedium
Longest Common SubpathreadHard
Maximum Product of the Length of Two Palindromic SubstringsHard
Find Substring With Given Hash ValueHard
Sum of Scores of Built StringsHard
K Divisible Elements SubarraysMedium
Maximum Deletions on a StringHard
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
Count Cells in Overlapping Horizontal and Vertical SubstringsMedium