Mental Model
We want to find the first character in a string that appears only once by counting how many times each character shows up.
Analogy: Imagine a classroom where each student raises their hand once. We want to find the first student who raised their hand only once, ignoring those who raised it multiple times.
string: h -> e -> l -> l -> o -> null
counts: {h:1, e:1, l:2, o:1}
ā first unique char pointer