Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Use dictionary solution in Clear category for Surjection Strings by vl.ev.ba
def isometric_strings(a: str, b: str) -> bool:
d={}
for a1,b1 in zip(a,b):
c=d.get(a1,b1)
if c!=b1:
return False
d[a1]=b1
return True
Aug. 20, 2026
Comments: