Very Easy Understandable sol || 3 line code
Complexity
Time complexity: O(n)

Space complexity: O(1)
Code


# Complexity
- Time complexity: $$O(n)$$
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity: $$O(1)$$
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```java []
class Solution {
    public int reverseDegree(String s) {
        int sum=0,i=0;
        for(char ch:s.toCharArray()){
            sum+=((26-(ch-'a'))*++i);
        }
        return sum;
    }
}
```
['Java']