摘要: 题目描述:(链接)Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3... 阅读全文
posted @ 2015-10-22 23:19 skycore 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 题目描述:(链接)Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve ... 阅读全文
posted @ 2015-10-22 23:06 skycore 阅读(136) 评论(0) 推荐(0) 编辑