摘要: 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? Given a singly linked list, determ 阅读全文
posted @ 2018-01-16 20:53 皇家大鹏鹏 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the 阅读全文
posted @ 2018-01-16 20:44 皇家大鹏鹏 阅读(127) 评论(0) 推荐(0) 编辑