First Unique Character in a String Leetcode - using pointers (javascript)

后端 未结 0 1190
不思量自难忘°
不思量自难忘° 2021-01-18 01:14

Given a string, find the first non-repeating character in it and return its index. If it doesn\'t exist, return -1.

leetcode question

"cc"            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题