Concept Flow - First Non Repeating Character Using Hash
Start with input string
Create empty hash map for counts
For each char in string
Increment char count in hash
For each char in string
Check if count == 1?
No→Continue
Yes
Return this char as first non repeating
If none found, return special char or -1
Count each character's frequency using a hash map, then find the first character with count one.
