Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each numb... Read More
posted @ 2014-08-24 22:44 Xylophone Views(142) Comments(0) Diggs(0)
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.The same repeate... Read More
posted @ 2014-08-24 22:01 Xylophone Views(366) Comments(0) Diggs(0)
Given an unsorted integer array, find the first missing positive integer.For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2.Your algorithm s... Read More
posted @ 2014-08-24 20:00 Xylophone Views(138) Comments(0) Diggs(0)
Given a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After ... Read More
posted @ 2014-08-24 17:47 Xylophone Views(120) Comments(0) Diggs(0)