Jens,

I think you have to review the test case #2.

IMO encoding "leoClaeigt orrPgmnmaio tCgntse" with a permutation of 3,5,2,1,4 results not in "Collegiate Programming Contest",but in "olelCiteag rgroPminmaC ntogest"
_________________________