Given a string s, return the index of the first character that appears exactly once. If no such character exists, return -1. The input is a single string, and the output is an integer index.
Example 1:
Input: s = "leetcode"
Output: 0
Explanation: 'l' is the first character that appears exactly once.
Example 2:
Input: s = "loveleetcode"
Output: 2
Explanation: 'v' is the first non-repeating character.
1 <= len(s) <= 10^5s consists of lowercase English letters-1 if every character appears more than once