My LeetCode grinding. Trying to do a problem a day.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

problem.txt 249B

1234567891011
  1. Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1.
  2. Examples:
  3. s = "leetcode"
  4. return 0.
  5. s = "loveleetcode",
  6. return 2.
  7. Note: You may assume the string contain only lowercase letters.