Score of The String : LeetCode [ 3110 ]
You are given a string s. The score of a string is defined as the sum of the absolute difference between the ASCII values of adjacent characters. Neighbour means one character to the left and one character to the right of a character i.e; neighbour o...
May 30, 20242 min read168
![Score of The String : LeetCode [ 3110 ]](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fstock%2Funsplash%2FGkFQEOubrCo%2Fupload%2F9ce887110b264cc13211ee19b4e765fc.jpeg&w=3840&q=75)