Dsa
Hashing
Medium
Isomorphic Strings
Determine if two strings are isomorphic. Two strings are isomorphic if the characters in one string can be replaced to get the second string. No two characters may map to the same character.
Input:
A single line containing two strings separated by a space.
Output:
'Yes' if the strings are isomorphic, otherwise 'No'.
Example:
Input:
'paper title'
Output:
'Yes'
Key concepts
hashingstringsmapping
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