Annkissam interview question

It was a dictionary algorithm.