小万万的博客

大数据

[LintCode]k Sum II

Given n unique integers, number k (1<=k<=n) and target. Find all possible k integers where their sum is target.Example Given [1,2,3,4], k=2, ...

2015-03-04 12:14:50

阅读数 1700

评论数 0

[LintCode]k Sum

Given n distinct positive integers, integer k (k <= n) and a number target.Find k numbers where sum is target. Calculate how many solutions there ...

2015-03-04 11:40:40

阅读数 3350

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭