My LeetCode grinding. Trying to do a problem a day.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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.