Mental Model
We count how many times each letter appears, then find the first letter that appears only once.
Analogy: Imagine a classroom where each student raises their hand once for every time they speak. We want to find the first student who raised their hand only once.
string: h -> e -> l -> l -> o -> null
counts: {h:0, e:0, l:0, o:0}
βstart