会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
欣姐姐
博客园
首页
新随笔
联系
管理
订阅
2019年10月15日
leetcode——91.解码方法
摘要: class Solution: def numDecodings(self, s: str) -> int: a={} if int(s[0])==0: return 0 else: a[0]=1 if len(s)==1: return a[0] if int(s[0])>2 and int(s[
阅读全文
posted @ 2019-10-15 11:46 欣姐姐
阅读(155)
评论(0)
推荐(0)
编辑
公告