Question d’entretien chez Salesforce

algorithm question: dynamic programming problem involving phone pad