NeetCode 150 · 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: 4
Category: Hashing
Featured Problems (4)
Explore More Patterns in NeetCode 150
Track your progress across all 150 problems in this curriculum roadmap.