PayPal Interview Question

Print all the possible combinations of a string?