Given a string s, find and return the first character that does not repeat anywhere in the string.
If every character repeats, return an empty string ''.
The check is case-sensitive.
Input: A single string s.
Output: A single character string — the first non-repeating character, or '' if all characters repeat.
Input: leetcode
Output: l
Explanation: Frequency: l=1,e=3,t=1,c=1,o=1,d=1. First character with freq=1 is 'l' (index 0).Input: loveleetcode
Output: v
Explanation: l=2,o=2,v=1,... First non-repeating is 'v' at index 2.Input: aabb
Output:
Explanation: a appears twice, b appears twice — no non-repeating character.0 <= s.length <= 10^5s consists of lowercase English letters