Letter Combinations Phone Number

00:00
MediumRecursionBacktrackingString
AmazonGoogle

Given digits 2-9, return all possible letter combinations they could represent (like on phone keyboard).

Examples

Input → digits='23'
Output → ['ad','ae','af','bd','be','bf','cd','ce','cf']
Input → digits=''
Output → []
Input → digits='2'
Output → ['a','b','c']