摘要: Problem: Implement a function to check if a singly linked list is a palindrome.思路:最简单的方法是 Reverse and compare.另外一种非常经典的办法是用 Recursive 的思路,把一个list看成这种形... 阅读全文
posted @ 2014-07-16 00:02 门对夕阳 阅读(429) 评论(0) 推荐(0) 编辑