Letter Combinations of a Phone Number

Given a string digits containing only the digits 2-9, return all possible letter combinations using the standard phone keypad mapping (2:abc, 3:def, 4:ghi, 5:jkl, 6:mno, 7:pqrs, 8:tuv, 9:wxyz).

**I...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: