摘要: The problem:Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2... 阅读全文
posted @ 2015-01-28 11:10 airforce 阅读(169) 评论(0) 推荐(0) 编辑
摘要: The problem:Sort a linked list using insertion sort.My analysis:The idea behind this solution is easy, but the mainipulation over linkedlist is hard a... 阅读全文
posted @ 2015-01-28 01:52 airforce 阅读(252) 评论(0) 推荐(0) 编辑