Hash Function

39 LeetCode questions

Difficulty Distribution

Easy
4
10%
Medium
17
44%
Hard
18
46%

Top Companies

Questions

TitleDifficulty
Shortest PalindromeHard
Palindrome PairsHard
Strings Differ by One CharacterMedium
Design HashMapEasy
Check If a String Contains All Binary Codes of Size KMedium
Longest Happy PrefixHard
Repeated DNA SequencesMedium
Subtree of Another TreeEasy
Number of Distinct IslandsMedium
Longest Duplicate SubstringHard
Maximum Length of Repeated SubarrayMedium
Number of Distinct Islands IIHard
Encode and Decode TinyURLMedium
Longest Repeating SubstringMedium
K Divisible Elements SubarraysMedium
Design HashSetEasy
Longest Common SubpathHard
Sum of Scores of Built StringsHard
Number of Subarrays That Match a Pattern IMedium
Delete Duplicate Folders in SystemHard
Count Prefix and Suffix Pairs IIHard
Count Prefix and Suffix Pairs IEasy
Number of Subarrays That Match a Pattern IIHard
Number of Distinct Substrings in a StringMedium
Find Beautiful Indices in the Given Array IMedium
Maximum Deletions on a StringHard
Unique Substrings With Equal Digit FrequencyMedium
Find Beautiful Indices in the Given Array IIHard
Count Cells in Overlapping Horizontal and Vertical SubstringsMedium
Check if DFS Strings Are PalindromesHard
Longest Chunked Palindrome DecompositionHard
Distinct Echo SubstringsHard
Find Substring With Given Hash ValueHard
Minimum Number of Valid Strings to Form Target IMedium
Equalize Strings by Adding or Removing Characters at EndsMedium
Minimum Time to Revert Word to Initial State IIHard
Minimum Time to Revert Word to Initial State IMedium
Find Pattern in Infinite Stream IMedium
Find Pattern in Infinite Stream IIHard

Showing 39 of 39 questions