摘要: 题目 Given a singly linked list, determine if it is a palindrome. Follow up: Could you do it in O(n) time and O(1) space? 题意分析 判断一个链表是否是回文链表。 所谓回文,即从左往右 阅读全文
posted @ 2017-08-02 17:05 hahahaf 阅读(121) 评论(0) 推荐(0) 编辑