Hash Set Pattern — LeetCode #217: Contains Duplicate
📰 Dev.to · Yash Gandhi
The simplest "have I seen this before?" problem — and the one question that unlocks Two Sum, Group Anagrams, and dozens more
The simplest "have I seen this before?" problem — and the one question that unlocks Two Sum, Group Anagrams, and dozens more