Hamming distance is the number of characters that differ between two strings.
To illustrate:
String1: "abcbba"
String2: "abcbda"
Hamming Distance: 1 - "b" vs. "d" is the only difference.Create a function that computes the hamming distance between two strings.
HammingDistance("abcde", "bcdef") ➞ 5
HammingDistance("abcde", "abcde") ➞ 0
HammingDistance("strong", "strung") ➞ 1Both strings will have the same length.