Datadog interview question

Implement a function that finds the first non-repeating character in a string.