Skip to content

Files

Latest commit

 

History

History
6 lines (3 loc) · 1.25 KB

File metadata and controls

6 lines (3 loc) · 1.25 KB

FirstUniqueCharIndex medium #string

by jiangshan @jiangshanmeta

Take the Challenge

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)


Back Share your Solutions Check out Solutions