Question

Write a function to check whether given two strings are isomorphic?

Login to Submit

Examples

Input: aab xxy
Output: true
Reason: if we change a -> x and b -> y then we can form xxy from aab