Mental Model
We want to find two numbers that add up to a target by remembering numbers we've seen before.
Analogy: Imagine you have a list of prices and a gift card. You check each price and remember it. When you see a price that matches the leftover gift card amount, you found your pair.
nums: [2] -> [7] -> [11] -> [15]
hash: {}
↑ current index