摘要: Subsets IIGiven a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descend... 阅读全文
posted @ 2014-12-04 18:47 陆草纯 阅读(2187) 评论(0) 推荐(0)
摘要: Reverse Linked List IIReverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return... 阅读全文
posted @ 2014-12-04 16:59 陆草纯 阅读(1406) 评论(0) 推荐(0)