目录
1、编号17 Letter Combinations Of Phone Number(DFS)
2、编号21 Generate Parentheses(DFS)
3、编号77 Combinations(DFS)
4、编号94 Restore IP Addresses(DFS)
1、编号17 Letter Combinations Of Phone Number
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit string "23"
Output: ["ad", "ae", "af", "bd", "be", "bf", "cd", "ce", "cf"].
Note: Although t......
阅读全文