#387
First Unique Character in a String
pupil · 325 · lc easy +22 · 65.1% accepted · 9,750 likes · top 69%
Description
Given a string s, find the first non-repeating character in it and return its index. If it does not exist, return -1.
Code
1
2
3