思路: 1.将链表转成列表处理 2.使用双指针大法 # class ListNode: # def __init__(self, x): # self.val = x # self.next = None # # # @param head ListNode类 the head # @return bool布尔型 # class Solution: def isPail(self , head ): # write code here nums=[] p=head #将链表变成列...