摘要: 参考:labuladong 问题: 判断一个链表,是否为回文链表。 Example 1: Input: 1->2 Output: false Example 2: Input: 1->2->2->1 Output: true 解法: 解法一:Linked List Traverse 链表遍历(后序遍 阅读全文
posted @ 2020-11-22 09:41 habibah_chang 阅读(91) 评论(0) 推荐(0) 编辑