Cognizant Interview Question

Find the first character that appeared only once in a string