Loading...
Two strings s and t are isomorphic if the characters in s can be replaced to get t, preserving order and with a one-to-one mapping.
Return True or False.
egg add
True
s and t.s and t simultaneously, checking if each character in s maps to a unique character in t. In this case, 'e' maps to 'a', 'g' maps to 'd', and the second 'g' still maps to 'd'.s and t are isomorphic.True, indicating that the strings are isomorphic.