LeetCode
3498. Reverse Degree of a String
A single left-to-right pass: reversed alphabet rank 26-(c-'a') times 1-indexed position, summed.
Loading…
A single left-to-right pass: reversed alphabet rank 26-(c-'a') times 1-indexed position, summed.
Loading…