← Questions
First unique character in a string
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Return the index of the first character in a string that appears only once, or -1 if every character repeats. Do it in two passes with a count table.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
