摘要:
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be 阅读全文
posted @ 2017-01-05 04:26
lettuan
阅读(251)
评论(0)
推荐(0)
摘要:
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 num 阅读全文
posted @ 2017-01-05 04:11
lettuan
阅读(148)
评论(0)
推荐(0)
摘要:
Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums 阅读全文
posted @ 2017-01-05 04:03
lettuan
阅读(424)
评论(0)
推荐(0)
摘要:
Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume k is always valid, 1 ≤ k ≤ BST's 阅读全文
posted @ 2017-01-05 03:46
lettuan
阅读(109)
评论(0)
推荐(0)

浙公网安备 33010602011771号