摘要: 题目: Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve 阅读全文
posted @ 2017-06-04 23:45 panini 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. For example,Given  阅读全文
posted @ 2017-06-04 10:54 panini 阅读(143) 评论(0) 推荐(0) 编辑