EASIEST SOLUTION | BEGINNER FRIENDLY | 0ms Runtime | Beats 100 % 🥷🏻🗡️☄️✨
IntuitionApproachComplexity
Time complexity: O(n);

Space complexity:O(1)
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# 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
```csharp []
public class Solution {
    public int ReverseDegree(string s) {
        int ans = 0;
        int i=1;
        foreach(char ch in s){
            ans += Math.Abs( (ch-'a')-26) * i;
            i++;
        }
        return ans;
    }
}
```
['Java', 'C#', 'MS SQL Server']