Indeed interview question

First Unique Character in a String. Follow-up: Longest string with only unique characters.