Help for in infinite letters?

CodeChef: Practical coding for everyone in this question
what is infinite letters are actually , i think they not mention or i am missing somthing

Hey, it is simple. They have mentioned in the question itself that infinity “alphabets” are nothing but all uppercase English alphabets i.e A-Z.
So you might think what’s the point of asking the question…well you’ve to search for longest chain of consecutive alphabets starting from ‘A’.
Hope it helped!!