FirstUniqueCharIndex
@typehero
Last updated 3 months ago
MEDIUM
Given a string s, find the first non-repeating character in it and return its index. If it does not exist, return -1. (Inspired by leetcode 387)
This challenge was ported from Type Challenges and was authored by jiangshanmeta
No comments yet,
be the first to comment!
Loading...
Loading...