/** * struct ListNode { * int val; * struct ListNode *next; * }; */ /** * * @param head ListNode类 the head * @return bool布尔型 */ bool isPail(struct ListNode* head ) { // write code here struct ListNode* p1 = head;//快指针 struct ListNode* p2 = head;//慢指针 struct ListNode* n = N...