Given two inputted strings, determine if there is a one-to-one mapping of characters between them. For example:
Input: 'abc', 'xyz'
Output: 1 # a maps uniquely to x, b to y, c to z
Provide an answer to fit into the following pseudocode:
def has_unique_character_map(string1, string2) {
# YOUR ANSWER HERE
}
print(has_unique_character_map('abc', 'xyz')
# Returns 1
print(has_unique_character_map('aac', 'xyz')
# Returns 0