First Unique Character — count, then scan
First tally how often each character appears. Then walk the string from the left and return the first position whose character was seen exactly once.
Try:
s
character counts