由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 怎么找均值相等的Two Partition of an array
相关主题
Amazon interview question.(3)再来讨论一个题!
partition array problemAnother DP Problem: Balanced Partition
问一道算法题求助:一道careercup的算法题
哪里有讲k-way merge的?Amazon二面结束,求BLESS
请问G一题[Algo] k numbers in array of n numbers sum to T
Google 2nd interview questions问一个给定的array 和一个sum value,找最小sub-array,谢谢
MMD, 死在了longest contiguous increasing sub-array上了.一个面试题
刚电面完,分享两个题目问个算法题,修改版
相关话题的讨论汇总
话题: partition话题: two话题: array话题: 均值话题: 相等
进入JobHunting版参与讨论
1 (共1页)
x****3
发帖数: 62
1
http://www.careercup.com/question?id=3190687
How do you partition an array into 2 parts such that the two parts have
equal average?...each partition may contain elements that are non-contiguous
in the array.
老看到这道题, 一直想不出比较简洁的解法。能想到的就是穷举所有的subset,计算
比较。
c****x
发帖数: 61
2
这是NPC,看着不像真的面试题
subset sum can be reduced to this problem

contiguous

【在 x****3 的大作中提到】
: http://www.careercup.com/question?id=3190687
: How do you partition an array into 2 parts such that the two parts have
: equal average?...each partition may contain elements that are non-contiguous
: in the array.
: 老看到这道题, 一直想不出比较简洁的解法。能想到的就是穷举所有的subset,计算
: 比较。

1 (共1页)
进入JobHunting版参与讨论
相关主题
问个算法题,修改版请问G一题
how do you find x number of items in an array sum up to K?Google 2nd interview questions
问个google面试题MMD, 死在了longest contiguous increasing sub-array上了.
给定一个值和sorted队列,只有唯一的pair其和等于给定值刚电面完,分享两个题目
Amazon interview question.(3)再来讨论一个题!
partition array problemAnother DP Problem: Balanced Partition
问一道算法题求助:一道careercup的算法题
哪里有讲k-way merge的?Amazon二面结束,求BLESS
相关话题的讨论汇总
话题: partition话题: two话题: array话题: 均值话题: 相等