Another algorithm would initialize 26 variables to zero, loop through the string one time, and use a giant if statement to update the variable for each letter.
確定! 回上一頁