leetcoe题解17—Letter Combinations of a Phone Number

  • Post author:
  • Post category:其他


题目:

Given a string containing digits from

2-9

inclusive, 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. Note that 1 does not map to any letters.


Example:



版权声明:本文为u014694994原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。