Back
Hash Map Patterns
Question 1 of 128% Complete
Medium
Match each problem with its hash map pattern:
Problems
1
Group Anagrams
2
Two Sum
3
Subarray sum equals k
4
Longest substring without repeating
Patterns
A
Track last seen index
B
Prefix sum with frequency map
C
Group by signature
D
Store complements