Loading...
The Letter Mapper
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
- Seniority
- mid, senior
Problem
Write a function that takes two strings of equal length and returns True if they are isomorphic. Two strings are isomorphic if each character in one maps to exactly one character in the other with no two characters mapping to the same target.
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.