i using map and manual mapping
IntuitionApproachComplexity
Time complexity:

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

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

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

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

# Code
```golang []
func reverseDegree(s string) (r int) {
	x := "abcdefghijklmnopqrstuvwxyz"
	t := ""
	for i := len(x) - 1; i >= 0; i-- {
		t += string(x[i])
	}
	m := map[string]int{}
	for i, v := range t {
		m[string(v)] = i + 1
	}
	for i := 0; i < len(s); i++{
		r += m[string(s[i])] * (i + 1)
	}
	return
}
```
['Go']