会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Turing-dz
博客园
首页
新随笔
联系
订阅
管理
2020年7月7日
LeetCode学习笔记1
摘要: 1.判断是否回文数: def isPalindrome(x): x=str(x) xx=x[::-1] return True if xx==x else False isPalindrome(-121)#False isPalindrome(121)#True 2.给定一个无序的整数数组,找到其中
阅读全文
posted @ 2020-07-07 15:59 Turing-dz
阅读(114)
评论(0)
推荐(0)
编辑
公告