由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 设计钞票系统的面值
相关主题
Pascal's Triangle II 的优化解?Amazon 2nd Phone Interview
NVIDIA电话面试请教大家看一下这道google面试题
amazon的第二面Amazon telephone interview
发觉最近流行这些X坐标扫描的题被fb拒了
问个brainteaser的题面试时用动规,要求对空间进行优化吗?
Google on site 面筋:教训篇微软面试的小体会
[合集] capital one 居然说不给办H-1B了PhD Interview 问题总结
Interview questions: points lie on same lineMath Interview Question Help
相关话题的讨论汇总
话题: 钞票话题: represent话题: hint话题: question
进入JobHunting版参与讨论
1 (共1页)
g*********s
发帖数: 1782
1
看了那个彭博社面试题想起来的。我记得以前在数学书上看到过系统讨论。大致是说,
N个钞票面值,表
示任意M元以内。N要尽量少,同时总的钞票数量也要少,是一个限制优化问题。
人民币1,2,5,10应该是最优解或比较好的次优解。
m*********g
发帖数: 646
2
that question is testing the binary knowledge, a common question in quant
interviews. The 31 is the hint.
so , it is 1, 2, 4, 8, 16 , can represent every number 1~31.
For the real money system, it needs to consider people's convenience.
g*********s
发帖数: 1782
3
1 is enough.
given ur answer, it must have required each type only appears once.
if so it's a strong hint.

【在 m*********g 的大作中提到】
: that question is testing the binary knowledge, a common question in quant
: interviews. The 31 is the hint.
: so , it is 1, 2, 4, 8, 16 , can represent every number 1~31.
: For the real money system, it needs to consider people's convenience.

m*********g
发帖数: 646
4
pls, think it again.

【在 g*********s 的大作中提到】
: 1 is enough.
: given ur answer, it must have required each type only appears once.
: if so it's a strong hint.

g*********s
发帖数: 1782
5
what's the complete description of the problem?
given lz's description, 1 is enough to represent any #.

【在 m*********g 的大作中提到】
: pls, think it again.
c******n
发帖数: 4965
6
how do u PROVE it's the min? that's the difficult part

【在 g*********s 的大作中提到】
: 看了那个彭博社面试题想起来的。我记得以前在数学书上看到过系统讨论。大致是说,
: N个钞票面值,表
: 示任意M元以内。N要尽量少,同时总的钞票数量也要少,是一个限制优化问题。
: 人民币1,2,5,10应该是最优解或比较好的次优解。

1 (共1页)
进入JobHunting版参与讨论
相关主题
Math Interview Question Help问个brainteaser的题
问公司要updated job description有没有问题Google on site 面筋:教训篇
一道caeerCup上的难算法题[合集] capital one 居然说不给办H-1B了
关于interviewInterview questions: points lie on same line
Pascal's Triangle II 的优化解?Amazon 2nd Phone Interview
NVIDIA电话面试请教大家看一下这道google面试题
amazon的第二面Amazon telephone interview
发觉最近流行这些X坐标扫描的题被fb拒了
相关话题的讨论汇总
话题: 钞票话题: represent话题: hint话题: question