Loading...

The Lone Traveler

A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
easy
Seniority
junior, mid

Problem

Given a string, find the first character that does not repeat anywhere else in the string. Return that character. If every character repeats at least once, return an empty string.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.