Algorithms and Data Structures

First Unique Character in a String (C# and Python3)

Given a string sfind the first non-repeating character in it and return its index. If it does not exist, return -1.

Solution

C#

Python3

close

Don’t miss these tips!

We don’t spam! Read our privacy policy for more info.

No products in the cart.

Open chat
Powered by