Two Sum is the quintessential hash map problem. The complement lookup pattern it teaches appears in countless other problems.
Enable JavaScript for the full StreamPrep guide.