首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
LeetCode每日一题
薪炎乙志
创建于2021-10-15
订阅专栏
LeetCode每日一题
暂无订阅
共132篇文章
创建于2021-10-15
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
LeetCode 12. 整数转罗马数字
https://leetcode-cn.com/problems/integer-to-roman/思路:做映射,特殊情况也做映射,遍历号数的每一位,对于每一位做判断
LeetCode 11. 盛最多水的容器
https://leetcode-cn.com/problems/container-with-most-water/思路:两层遍历
LeetCode 10. 正则表达式匹配
https://leetcode-cn.com/problems/regular-expression-matching/思路:动态规划这是一个通配符问题.表示任意字符,*表示0个或多个字符,.*表示
LeetCode 9. 回文数
https://leetcode-cn.com/problems/palindrome-number/思路1:转换为字符串,遍历一半字符串思路2:不转换为字符串,按下面这个思路并排除一些特殊情况
LeetCode 8. 字符串转换整数 (atoi)
https://leetcode-cn.com/problems/string-to-integer-atoi/思路:把示例中的几种情况考虑到就可以了
LeetCode 7. 整数反转
https://leetcode-cn.com/problems/reverse-integer/思路:注意正负数、边界
LeetCode 6. Z 字形变换
https://leetcode-cn.com/problems/zigzag-conversion/思路:重点是找interval和step的公式
LeetCode 5. 最长回文子串
https://leetcode-cn.com/problems/longest-palindromic-substring/思路:动态规划
LeetCode 4. 寻找两个有序数组的中位数
https://leetcode-cn.com/problems/median-of-two-sorted-arrays/理解中位数:https://baike.baidu.com/item/中位数/
LeetCode 3. 无重复字符的最长子串
https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/思路1:构造一个map来保存每个字符最近
LeetCode 2. 两数相加
https://leetcode-cn.com/problems/add-two-numbers/思路:考虑下面几种情况1、考虑最高位进位2、考虑l1和l2长度不一样3、考虑l1、l2为空
LeetCode 1. 两数之和
一直在开始,一直在放弃,再开始一次;从第1题开始,不求1天1题只求坚持下去,不追求性能最优只求有思路能通过。