Use hash maps/sets to turn O(n²) scans into O(n) lookups; the bread-and-butter of array problems.
No matches.