摘要: 描述Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbersfrom the original list.For example,Given 1->2 阅读全文
posted @ 2018-07-11 22:48 昵称真难想 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 描述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->1->2->3->3 阅读全文
posted @ 2018-07-11 22:46 昵称真难想 阅读(125) 评论(0) 推荐(0) 编辑