Frage im Vorstellungsgespräch bei Morgan Stanley

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