LeetCode-17:Letter Combinations of a Phone Number

来源:互联网 发布:linux密码修改 编辑:程序博客网 时间:2024/06/06 16:30

17.Letter Combinations of a 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"].
题意:
原创粉丝点击