第一题:两两交换链表中的值 class Solution: def swapPairs(self, head: Optional[ListNode]) -> Optional[ListNode]: dummy_head = ListNode(next = head) current = dummy_head while current.next and current.next.next: temp = current.next temp1 = current.next.next.next current.next = current.next.next current.next.nex...