Leetcode17——电话号码的字母组合【Python3版】
题目链接:https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number/
解题与分析:
- itertools工具的熟练使用【建议读下:Python itertools模块详解 或 python解决排列组合】
- python中的*的用法【建议读下:详解python中*号的用法!(含实例:零基础也看能懂)】
个人解答如下:
往期关于itertools的个人博客: