摘要:
Success Details Success Runtime: 52 ms, faster than 8.08% of Python3 online submissions for Remove Element. Memory Usage: 13.8 MB, less than 6.06% of 阅读全文
摘要:
这题很烦 做完满脑子都是箭头。 这里head之后 和tail之前 不能用next这种形式来给next复制 会造成循环链表 tailNode.next = headNode.next # 4 next point to 2 tailprevNode.next = headNode # 3 next p 阅读全文
摘要:
意外的简单,也可能是无耻的用了sort的缘故。 Runtime: 68 ms, faster than 96.70% of Python3 online submissions forMerge k Sorted Lists. Memory Usage: 17.3 MB, less than 19. 阅读全文
摘要:
REM:生成一个文件 del > Time.log echo > Time.log REM:获取系统日期及时间,同时将时间转换为8位(8:16:00-->08:16:00).写入文件。 :ABC set CurDate=%date:~0,10% set CurTime=%time% set hh=%CurTime:~0,2% if /i %hh% LSS 10 ... 阅读全文
摘要:
链表题没法在本地打断点调试真的烦。。。不过好在这题简单 注意考虑要去除的元素在正数第一位的情况就好。 Runtime: 40 ms, faster than 88.15% of Python3 online submissions forRemove Nth Node From End of Lis 阅读全文