YOU NEED SOLUTION HUH ?
BRO, HOW IS THIS EVEN CONFUSING ?Code
# BRO, HOW IS THIS EVEN CONFUSING ?

# Code
```cpp []
class Solution {
public:
    int scoreOfString(string s) {
        int res = 0;
        for ( int i = 0 ; i < s.size() - 1 ; i ++ ){
            res += max(s[i] , s[i+1] ) - min ( s[i] , s[i+1] );
        }
        return res;
    }
};
```
['String', 'C++']