Striver A2Z · Hashmap Existence / Complement Lookup
Use a hashmap or set purely to answer 'have I seen this before' or 'does the complement exist', not to count occurrences.
Sheet Problems: 2
Category: Hashing
ℹ
Curated selection from Striver A2Z
This sheet features 2 problems testing this technique. For the complete collection of problems and detailed algorithmic intuition, visit the Hashmap Existence / Complement Lookup Pattern Guide.
Featured Problems (2)
Explore More Patterns in Striver A2Z
Track your progress across all 243 problems in this curriculum roadmap.