leetcode
387. First Unique Character in a String
Solution code
Time complexity: O(n)
_k =
alphabet
= 26_
Space complexity: O(k)