leetcode - Letter Combinations of a Phone Number

来源:互联网 发布:免费网络办公平台 编辑:程序博客网 时间:2024/05/21 13:58

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"].

0 0
原创粉丝点击