Dsa
Strings
Warm-up
Unique Character Finder
Write a function that takes a string and returns a new string containing only the characters that appear exactly once in the original string, in the order they appear.
Example input:
hello
Example output:
e
Key concepts
stringsuniquecharacters
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