← Microsoft questions

Find the first non-repeating character in a string

Filed under Microsoft · Also reported at Accolite, Amazon, Epsilon, Tally Solutions

Given a string, identify the first character that does not repeat throughout the string. Return the character or an indicator if none exist.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.