3 ms·
> The is a word, look up ‘reis’, not a word, next This is where the wrong greedy solution from TFA, which the author claims some candidates reach, stops. So it
by the_af 4y ago
> The is a word, look up ‘reis’, not a word, next
This is where the wrong greedy solution from TFA, which the author claims some candidates reach, stops. So it's wrong.
Note that if you do not stop, and continue as in your own example, your solution isn't "greedy"!