Leetcode First Non Repeating Character Practice