Determines the number of letters in a word that match their alphabetical position.
Given a string, return the number of letters in the string that match their alphabetical position. For example, given the string "aoc", return 2 since "a" and "c" appear in the string at positions 1 and 3, respectively.
# | Size | % | Users |
---|---|---|---|
#1 | 47 c. | Top 28% | |
#2 | 48 c. | Top 38% | |
#3 | 49 c. | Top 45% | |
#4 | 52 c. | Top 55% | |
#5 | 53 c. | Top 66% | |
#6 | 54 c. | Top 83% | |
#7 | 56 c. | Top 86% | |
#8 | 57 c. | Top 93% | |
#9 | 60 c. | Top 97% | |
#10 | 61 c. | Top 100% |