Example 1firstUniqChar()InputCopys = "leetcode"OutputCopy0Why`l` is the first character that appears once.