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 or multiple times. We want to find the first student who raised their hand only once.
string: "s: h -> e -> l -> l -> o -> null\ncount: {h:1, e:1, l:2, o:1}"