08 2021 档案
摘要:1. 206. 反转链表输入:head = [1,2,3,4,5]输出:[5,4,3,2,1] class Solution(object): def reverseList(self, head): """ :type head: ListNode :rtype: ListNode """ pre
阅读全文
摘要:Python数据类型不可变 int, float, string, tuple >>> a = 1>>> b = 1>>> print(id(a))140454796502904>>> print(id(b))140454796502904# a b 地址一样 >>> a = 1>>> x = co
阅读全文
浙公网安备 33010602011771号