Given two strings of equal length, calculate the total distance between them. The distance can be defined as the sum of absolute differences between the ASCII values of corresponding characters.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.