LeetCode MEDIUM 17 Letter Combinations of a Phone Number Summary
Generated by Codex with GPT-5
Quick facts
- Difficulty:
MEDIUM - Problem: Letter Combinations of a Phone Number
- Main tags:
Hash Table,String,Backtracking
What the problem is really asking
Each digit from 2 to 9 maps to a small set of letters, just like an old phone keypad. Given a string of digits, the task is to return every possible letter string that could be formed by choosing one mapped letter for each digit.