Weโre given: source string encrypted string We need to check if: ๐ The encryption mapping is valid From the example: "abcda" โ "zyxvz" โ valid "acbb" โ "yzxk" โ invalid So the rule seems: ๐ Each character in source should map to exactly one character ๐ Mapping must be consistent
Check out your Company Bowl for anonymous work chats.