Hash Function Problems
31 Hash Function LeetCode problems · Solve with AI-powered hints & step-by-step explanations.
Learn the coding interview patterns behind these problems.
Start with these
All Hash Function problems
187 Repeated DNA Sequences Medium214 Shortest Palindrome Hard535 Encode and Decode TinyURL Medium572 Subtree of Another Tree Easy705 Design HashSet Easy706 Design HashMap Easy718 Maximum Length of Repeated Subarray Medium1044 Longest Duplicate Substring Hard1147 Longest Chunked Palindrome Decomposition Hard1316 Distinct Echo Substrings Hard1392 Longest Happy Prefix Hard1461 Check If a String Contains All Binary Codes of Size K Medium1923 Longest Common Subpath Hard1948 Delete Duplicate Folders in System Hard1960 Maximum Product of the Length of Two Palindromic Substrings Hard2156 Find Substring With Given Hash Value Hard2223 Sum of Scores of Built Strings Hard2261 K Divisible Elements Subarrays Medium2430 Maximum Deletions on a String Hard3006 Find Beautiful Indices in the Given Array I Medium3008 Find Beautiful Indices in the Given Array II Hard3029 Minimum Time to Revert Word to Initial State I Medium3031 Minimum Time to Revert Word to Initial State II Hard3034 Number of Subarrays That Match a Pattern I Medium3036 Number of Subarrays That Match a Pattern II Hard3042 Count Prefix and Suffix Pairs I Easy3045 Count Prefix and Suffix Pairs II Hard3291 Minimum Number of Valid Strings to Form Target I Medium3292 Minimum Number of Valid Strings to Form Target II Hard3327 Check if DFS Strings Are Palindromes Hard3529 Count Cells in Overlapping Horizontal and Vertical Substrings Medium