摘要: The suggested solution to this problem has given a clear idea. The tricky part of this problem is to handle all the edge cases carefully and write a c... 阅读全文
posted @ 2015-07-10 20:40 jianchao-li 阅读(159) 评论(0) 推荐(0) 编辑
摘要: The idea is not so obvious at first glance. Since you cannot move from a node back to its previous node in a singly linked list, we choose to reverse ... 阅读全文
posted @ 2015-07-10 13:40 jianchao-li 阅读(411) 评论(0) 推荐(0) 编辑