Amazon interview question

Q: Find the first non-repeating character in a string.