Skip to content

Topic: Rolling Hash

25 problems
TitleStatusDifficulty
Repeated DNA Sequences—Medium
Shortest Palindrome—Hard
Maximum Length of Repeated Subarray—Medium
Longest Duplicate Substring—Hard
Longest Chunked Palindrome Decomposition—Hard
Distinct Echo Substrings—Hard
Longest Happy Prefix—Hard
Check If a String Contains All Binary Codes of Size K—Medium
Longest Common Subpathread—Hard
Maximum Product of the Length of Two Palindromic Substrings—Hard
Find Substring With Given Hash Value—Hard
Sum of Scores of Built Strings—Hard
K Divisible Elements Subarrays—Medium
Maximum Deletions on a String—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
Count Cells in Overlapping Horizontal and Vertical Substrings—Medium