205. Isomorphic Strings
Intuition
Two strings are isomorphic if every character in the first string can be uniquely replaced to get the second string, preserving the order. This means:
Characters at the same index in both strings must have a one-to-one mapping.
No two different characters from the first string can map to the same character in the second string, and vice versa.
Complexity
Space Complexity
Time Complexity
Code
Last updated