/*struct ListNode { int val; struct ListNode next; ListNode(int x) : val(x), next(NULL) {}};/class PalindromeList {public: bool chkPalindrome(ListNode* A) { struct ListNodeslow=A,fast=A,pery; while(fast&&fast->next) { pery=slow; slow=...