会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
rosyYY
导航
博客园
首页
新随笔
联系
订阅
管理
公告
上一页
1
2
3
4
5
6
···
18
下一页
2019年6月20日
leetcode-hard-array-179 Largest Number-NO
摘要: mycode 写的很复杂,还报错。。。 参考:
阅读全文
posted @ 2019-06-20 10:56 rosyYY
阅读(119)
评论(0)
推荐(0)
2019年6月19日
leetcode-hard-ListNode-Copy List with Random Pointer-NO
摘要: mycode 报错:Node with val 1 was not copied but a reference to the original one. 其实我并没有弄懂对于ListNode而言咋样才叫做深拷贝了 这道链表的深度拷贝题的难点就在于如何处理随机指针的问题,由于每一个节点都有一个随机指
阅读全文
posted @ 2019-06-19 11:36 rosyYY
阅读(484)
评论(0)
推荐(0)
leetcode-hard-ListNode-148. Sort List
摘要: mycode 97.37% 如果用上一个题目中”参考“的方法,res中放节点而不是val,就会超时 参考 二分法!!!!!!!
阅读全文
posted @ 2019-06-19 11:08 rosyYY
阅读(165)
评论(0)
推荐(0)
leetcode-hard-ListNode-23. Merge k Sorted Lists
摘要: mycode 91.2% 但是下面的这个代码最后的链表就只有1一个val Input:[[1,4,5],[1,3,4],[2,6]] Output:[1] Expected:[1,1,2,3,4,4,5,6] Stdout:[1, 1, 2, 3, 4, 4, 5, 6] 参考 class Solu
阅读全文
posted @ 2019-06-19 10:49 rosyYY
阅读(173)
评论(0)
推荐(0)
2019年6月18日
leetcode-hard-array-76. Minimum Window Substring -NO
摘要: mycode 不会。。 参考:
阅读全文
posted @ 2019-06-18 13:55 rosyYY
阅读(126)
评论(0)
推荐(0)
leetcode-hard-array-239. Sliding Window Maximum
摘要: mycode 89.27% 参考
阅读全文
posted @ 2019-06-18 12:29 rosyYY
阅读(97)
评论(0)
推荐(0)
leetcode-hard-array- 227. Basic Calculator II
摘要: mycode 29.58% 参考
阅读全文
posted @ 2019-06-18 12:03 rosyYY
阅读(111)
评论(0)
推荐(0)
2019年6月17日
leetcode-hard-array-287. Find the Duplicate Number
摘要: mycode 77.79% 参考
阅读全文
posted @ 2019-06-17 14:56 rosyYY
阅读(103)
评论(0)
推荐(0)
leetcode-hard-array-128. Longest Consecutive Sequence
摘要: mycode 92.62% 参考
阅读全文
posted @ 2019-06-17 14:51 rosyYY
阅读(101)
评论(0)
推荐(0)
leetcode-hard-array-41. First Missing Positive-NO
摘要: mycode Runtime Error Message:Line 11: MemoryError Last executed input:[2147483647] 44.76% class Solution(object): def firstMissingPositive(self, nums)
阅读全文
posted @ 2019-06-17 13:05 rosyYY
阅读(111)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
18
下一页