Both our decoding algorithm and the decoding algorithm of Z&C08 run in linear time.
in order to generate possible candidates for each character, Z&C08 uses an extra loop to search for possible words that end with the current character.