Domanda di colloquio di Morgan Stanley

Java code on finding first non repeating character of the string.