摘要: Given a singly linked list, determine if it is a palindrome. Example 1: Input: 1->2 Output: false Example 2: Input: 1->2->2->1 Output: true Follow up: 阅读全文
posted @ 2015-07-10 12:38 Grandyang 阅读(34422) 评论(10) 推荐(3)
Fork me on GitHub