387. First Unique Character in a StringEasy
Given a string
s
, find the first non-repeating character in it and return its index. If it does not exist, return-1
.
- Problem
- Solutions
Given a string
s
, find the first non-repeating character in it and return its index. If it does not exist, return-1
.