XYZ (Turkey) interview question

how do you get the first non repeatable character from a string