摘要: 1. 电话号码的字母组合 给定一个仅包含数字 2-9 的字符串,返回所有它能表示的字母组合。 class Solution: def letterCombinations(self, digits: str) -> List[str]: mapping = { '2': 'abc', '3': 'd 阅读全文
posted @ 2024-08-23 07:39 WindMay 阅读(6) 评论(0) 推荐(0) 编辑