由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - Moutain view 一公司的面试题
相关主题
[合集] 一道Google面试题问一道面试题
一道 纽约 Morgan Stanley IT Equity Trading 面试题问道leetcode的题:Combination Sum II
a公司 onsite 面试题question about Leetcode #113 LeetCode – Path Sum II (Java)
问一道算法题largest subsequence sum <= max再上一简单点面试题了
问道面试题贡献一道twitter的面试题
请教2道面试题继续攒人品,发Apple面试题(iCloud)
我也来贡献几个面试题面试题总结(6) - Linked List
面试题求教BB面试题请教
相关话题的讨论汇总
话题: sums话题: find话题: lists话题: picking话题: integer
进入JobHunting版参与讨论
1 (共1页)
b*****d
发帖数: 15
1
You are asked to build a sum by picking one integer from each list. Find the
n largest sums amongst all the combinations of picking an integer from each
list, where n is some positive value. For example if n is 1, then you are
simply expected to find the sum that can be created by adding together the
highest integers in all the lists.
For example, given the lists:
[5,4,3,2,1]
[4,1]
[5,0,0]
[6,4,2]
[1]
and a value of 3 for n your procedure should return the sums
21 (5 + 4 + 5 + 6 + 1)
20 (4 + 4 + 5 + 6 + 1)
19 (3 + 4 + 5 + 6 + 1)
1 (共1页)
进入JobHunting版参与讨论
相关主题
BB面试题请教问道面试题
LinkedIn 面试题讨论请教2道面试题
问一道面试题,现在好像很流行这种题我也来贡献几个面试题
问一道面试题面试题求教
[合集] 一道Google面试题问一道面试题
一道 纽约 Morgan Stanley IT Equity Trading 面试题问道leetcode的题:Combination Sum II
a公司 onsite 面试题question about Leetcode #113 LeetCode – Path Sum II (Java)
问一道算法题largest subsequence sum <= max再上一简单点面试题了
相关话题的讨论汇总
话题: sums话题: find话题: lists话题: picking话题: integer