由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 面试题求教
相关主题
问道面试题请教2道面试题
Pairwise Sum 算法follow up我也来贡献几个面试题
find subset that sum up to given number问一道面试题
[合集] 一道Google面试题Ask a google interview question
一道 纽约 Morgan Stanley IT Equity Trading 面试题[合集] 骑驴找马的困难 (转载)
a公司 onsite 面试题Leetcode Two Sum,我这个O(n)解法为啥不讨服务器的好呢
问一道算法题largest subsequence sum <= max关于结果除掉重复的问题请教
Moutain view 一公司的面试题求解答:Find multiple missing numbers
相关话题的讨论汇总
话题: know话题: abel话题: don话题: hats话题: numbers
进入JobHunting版参与讨论
1 (共1页)
f****e
发帖数: 923
1
There are 3 people Abel,Bill and Clark.Three of them have numbers written on
their hats.One can only see the numbers written on others hats and can not
see the number written on his own hat. Sum of numbers on any two 2 hats is
equal to the number on the third hat.Now the following event occurs
1. Abel was asked about the number on his hat.He replied "Don't Know"
2. Bill was asked about the number on his hat.He also replied "Don't Know"
3. Clark was asked about the number on his hat.He also replied "Don't Know"a
4. Abel was asked again ,to which he repplied "50"
Now the question is how did he know it.And what are the numbers on other
people's hats.
r****7
发帖数: 2282
2
你确信这个条件是对的?
Sum of numbers on any two 2 hats is equal to the number on the third hat.

on
not
"a

【在 f****e 的大作中提到】
: There are 3 people Abel,Bill and Clark.Three of them have numbers written on
: their hats.One can only see the numbers written on others hats and can not
: see the number written on his own hat. Sum of numbers on any two 2 hats is
: equal to the number on the third hat.Now the following event occurs
: 1. Abel was asked about the number on his hat.He replied "Don't Know"
: 2. Bill was asked about the number on his hat.He also replied "Don't Know"
: 3. Clark was asked about the number on his hat.He also replied "Don't Know"a
: 4. Abel was asked again ,to which he repplied "50"
: Now the question is how did he know it.And what are the numbers on other
: people's hats.

q****m
发帖数: 177
3
a+b+c=0

【在 r****7 的大作中提到】
: 你确信这个条件是对的?
: Sum of numbers on any two 2 hats is equal to the number on the third hat.
:
: on
: not
: "a

1 (共1页)
进入JobHunting版参与讨论
相关主题
求解答:Find multiple missing numbers一道 纽约 Morgan Stanley IT Equity Trading 面试题
常见面试题求助:top N query in last 24 days, last days ...a公司 onsite 面试题
[合集] IBM电话面试报告+面试题问一道算法题largest subsequence sum <= max
问个面试题Moutain view 一公司的面试题
问道面试题请教2道面试题
Pairwise Sum 算法follow up我也来贡献几个面试题
find subset that sum up to given number问一道面试题
[合集] 一道Google面试题Ask a google interview question
相关话题的讨论汇总
话题: know话题: abel话题: don话题: hats话题: numbers