Progress Interview Question

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