← Questions

Letter combinations of a phone number

0
UberCodingLast asked Mar 2026

Each digit from 2 to 9 on a phone keypad stands for a few letters. Given a string of digits such as "2345", list every letter string it can spell and say how many there are.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding