given a string s, return the first non-repeating character in it and return its index. if it does not exist, return -1

2

given a string s, return the first non-repeating character in it and return its index. if it does not exist, return -1.

By Beginner Code at Jul 13 2021


Related code examples


Code examples by languages