Question bank › Strings
Dsa Strings Warm-up

Find First Non-Repeating Character

Create a program that finds the first non-repeating character in a given string. If all characters are repeating, return an empty string. Ignore spaces. Input Format: A single line containing the string. Output Format: The first non-repeating character or an empty string if no such character exists. Example: Input: character Output: c

Key concepts

stringscounting

Practise this out loud — free

Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.

🎙 Practise this question now
Part of Praxari's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.