Striver SDE Sheet · 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 SDE Sheet

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 SDE Sheet

Track your progress across all 119 problems in this curriculum roadmap.