会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
HorribleMe
博客园
首页
新随笔
联系
订阅
管理
2020年3月23日
leetcode每周记录
摘要: 1、 思路是将数字转换为字符串进行倒置处理然后再转换为数字,注意转置后数值是否超出范围即可 beat 85%, 贴上代码: class Solution(object): def reverse(self, x): """ :type x: int :rtype: int """ _x = str(
阅读全文
posted @ 2020-03-23 10:57 HorribleMe
阅读(157)
评论(0)
推荐(0)
编辑
公告