摘要:
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the following unique per... 阅读全文
posted @ 2014-05-17 16:11
linyx
阅读(173)
评论(0)
推荐(0)
摘要:
Remove Duplicates from Sorted List IGiven a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->... 阅读全文
posted @ 2014-05-17 14:46
linyx
阅读(148)
评论(0)
推荐(0)
摘要:
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 the o... 阅读全文
posted @ 2014-05-17 13:40
linyx
阅读(137)
评论(0)
推荐(0)
摘要:
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.If the number of nodes is not a multiple of k then le... 阅读全文
posted @ 2014-05-17 13:18
linyx
阅读(139)
评论(0)
推荐(0)

浙公网安备 33010602011771号