If the current character appears after the previous character according to the given circular alphabetical order
if ( ( curr == ' a ' && prev == ' z ' ) || ( curr - prev == 1 ) ) i ++ ; else break ; } return i - 1 ; }