EASY C++ 100% O(N)
Code
# Code
```cpp []
class Solution {
public:
    int reverseDegree(string s) {
        int sum = 0;
        for(int i = 0; i < s.size(); i++) 
            sum += (26 - s[i] + 'a') * (i+1);
        return sum;
    }
};
```
['Math', 'String', 'C++']