摘要: 呜呜呜 递归好不想写qwq 求“所有情况”这种就递归 17. Letter Combinations of a Phone Number 题意:在九宫格上按数字,输出所有可能的字母组合 思路:递归回溯求解 递归保存的是每层的状态,因此每层的 str 不应该改,而是更改str和idx后进入到下一层 c 阅读全文
posted @ 2019-01-25 22:55 舒羽倾 阅读(249) 评论(0) 推荐(0) 编辑