Given a string of digits from 2 through 9, return every possible letter combination using the traditional telephone keypad mapping. Preserve digit order and emit combinations in keypad order. Return an empty list for an empty input.
Input / output
digits: stringstring[]Examples
"23" returns ["ad","ae","af","bd","be","bf","cd","ce","cf"]."" returns [].Constraints
0 <= digits.length <= 42 and 9.Follow-up
What are the time and output-space bounds when digits 7 and 9 contribute four choices?