American Express Interview Question

Write a function to write all the characters combinations for a Telephone number pad in Iterative and Recursive both ways.