/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) {} };*/ class PalindromeList { public: bool chkPalindrome(ListNode* A) { // write code here //思路: 1->2->2->1 //快慢指针找到之间结点 将后面的链表进行逆置 现在用一下CPP的方法 if(A==nullptr || A->next==nullptr) return true; stack...