Salesforce Interview Question

algorithm question: dynamic programming problem involving phone pad