题目: Given a singly linked list, determine if it is a palindrome. 思路: 1.找到中间点 2.从中间点开始对链表倒置 3.依次比较值是否相同 代码