摘要: Question: Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. For example, 阅读全文
posted @ 2018-02-25 19:09 于淼 阅读(72) 评论(0) 推荐(0) 编辑
摘要: Question: Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1- 阅读全文
posted @ 2018-02-25 10:27 于淼 阅读(93) 评论(0) 推荐(0) 编辑