Question d’entretien chez Janea Systems

Write code that prints all combinations given a string and k