Given a collection of integers that might contain duplicates, S, return all possible subsets.Note:Elements in a subset must be in non-descending order... Read More
posted @ 2014-08-12 22:43
Xylophone
Views(128)
Comments(0)
Diggs(0)
Reverse a linked list from position m to n. Do it in-place and in one-pass.For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->... Read More
posted @ 2014-08-12 22:05
Xylophone
Views(96)
Comments(0)
Diggs(0)
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu... Read More
posted @ 2014-08-12 21:27
Xylophone
Views(254)
Comments(0)
Diggs(0)
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu... Read More
posted @ 2014-08-12 09:49
Xylophone
Views(152)
Comments(0)
Diggs(0)
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example, [1,1,2] have the following unique pe... Read More
posted @ 2014-08-12 09:04
Xylophone
Views(140)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号