![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
Aaron2019ECNU
这个作者很懒,什么都没留下…
展开
-
LeetCode刷题笔记 [70] 爬楼梯
2019-02-23 15:32:02 [70] 爬楼梯C语言中并没有提供阶乘函数,自己实现很简单,阶乘英文为multiplyNumbers.原本打算用递归阶乘暴力解决,虽然在本地VScode可以ac,但是在线编译器无法通过,显示runtime error: signed integer overflow: 2004189184 * 6 cannot be represented i...原创 2019-02-24 10:41:35 · 537 阅读 · 0 评论 -
LeetCode刷题笔记 [26] 删除排序数组中的重复项
在调试过程中,有时候需要查看数组内容,但是 vs code 并没有这个功能。可以通过添加监视对象来解决,右键点击监视窗格,添加表达式:(int()[12])nums...原创 2019-02-24 10:44:16 · 175 阅读 · 0 评论 -
LeetCode刷题笔记 [69] x 的平方根
/* * @lc app=leetcode.cn id=69 lang=c * * [69] x 的平方根 * * https://leetcode-cn.com/problems/sqrtx/description/ * * algorithms * Easy (33.91%) * Total Accepted: 22.9K * Total Submissions: 6...原创 2019-02-24 16:47:46 · 235 阅读 · 0 评论 -
LeetCode刷题笔记 [7] 整数反转
/* * @lc app=leetcode.cn id=7 lang=c * * [7] 整数反转 * * https://leetcode-cn.com/problems/reverse-integer/description/ * * algorithms * Easy (31.08%) * Total Accepted: 74K * Total Submission...原创 2019-02-24 16:52:38 · 277 阅读 · 0 评论 -
LeetCode刷题笔记 [9] 回文数
/* * @lc app=leetcode.cn id=9 lang=c * * [9] 回文数 * * https://leetcode-cn.com/problems/palindrome-number/description/ * * algorithms * Easy (55.67%) * Total Accepted: 63.5K * Total Submiss...原创 2019-02-24 16:54:07 · 157 阅读 · 0 评论 -
LeetCode刷题笔记 [13] 罗马数字转整数
/* * @lc app=leetcode.cn id=13 lang=c * * [13] 罗马数字转整数 * * https://leetcode-cn.com/problems/roman-to-integer/description/ * * algorithms * Easy (56.32%) * Total Accepted: 35.6K * Total Su...原创 2019-02-24 16:55:21 · 189 阅读 · 0 评论 -
LeetCode刷题笔记 [20] 有效的括号
/* * @lc app=leetcode.cn id=20 lang=c * * [20] 有效的括号 * * https://leetcode-cn.com/problems/valid-parentheses/description/ * * algorithms * Easy (35.90%) * Total Accepted: 42.1K * Total Sub...原创 2019-02-24 16:56:12 · 147 阅读 · 0 评论 -
LeetCode刷题笔记 [26] 删除排序数组中的重复项
/* * @lc app=leetcode.cn id=26 lang=c * * [26] 删除排序数组中的重复项 * * https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array/description/ * * algorithms * Easy (42.00%) * Total Accepte...原创 2019-02-24 16:57:44 · 145 阅读 · 0 评论 -
LeetCode刷题笔记 [67] 二进制求和 *未解决
/* * @lc app=leetcode.cn id=67 lang=c * * [67] 二进制求和 * * https://leetcode-cn.com/problems/add-binary/description/ * * algorithms * Easy (45.62%) * Total Accepted: 16K * Total Submissions:...原创 2019-02-25 11:22:40 · 202 阅读 · 0 评论