Skip to content

Letter Combinations of a Phone Number #15

@barretlee

Description

@barretlee

本题难度:★★

给定一个纯数字的字符串,根据下面九宫格表返回所有可能的字母组合:

九宫格表

比如给定 "23",那么所有可能的输出为:["ad", "ae", "af", "bd", "be", "bf", "cd", "ce", "cf"]

注意:上面给出的是按照辞典顺序输出的,可以不考虑顺序。

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions