摘要: 题源:LeetCode 链接:https://leetcode-cn.com/problems/decode-ways 这也是一道动态规划的题目,注意f(x)和f(x-1)、f(x-2)的关系 1 class Solution { 2 public: 3 int numDecodings(strin 阅读全文
posted @ 2021-08-10 10:43 Danae丶 阅读(49) 评论(0) 推荐(0) 编辑