Pergunta de entrevista da empresa Progress

Question based on recursion to print all the possible combinations of a given string.