摘要:
简单题 执行用时 :176 ms, 在所有 python 提交中击败了53.69%的用户 内存消耗 :12.2 MB, 在所有 python 提交中击败了24.70%的用户 ——2019.10.25 阅读全文
摘要:
简单题 执行用时 :16 ms, 在所有 python 提交中击败了98.07%的用户 内存消耗 :11.8 MB, 在所有 python 提交中击败了25.81%的用户 ——2019.10.25 阅读全文
摘要:
class Solution(object): def rotateRight(self, head, k): """ :type head: ListNode :type k: int :rtype: ListNode """ if not head: return if head.next==N 阅读全文
摘要:
借助新增加的结点 class Solution(object): def swapPairs(self, head): """ :type head: ListNode :rtype: ListNode """ if not head: return if head.next==None: retu 阅读全文