Search
⌘K

Leetcode 3498. Reverse Degree of a String

Compute the sum over all characters of (1-indexed string position) × (reversed alphabet value where 'a' = 26, 'b' = 25, ..., 'z' = 1); return that total for the given lowercase string.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.