Free考研资料 - 免费考研论坛

 找回密码
 注册
打印 上一主题 下一主题

Google Interview Puzzle : 2 Egg Problem

[复制链接]
跳转到指定楼层
楼主
admin 发表于 10-10-21 13:33:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
* You are given 2 eggs.
* You have access to a 100-story building.
* Eggs can be very hard or very fragile means it may break if dropped from the
first floor or may not even break if dropped from 100th floor.Both eggs are i
dentical.
* You need to figure out the highest floor of a 100-story building an egg can
be dropped without breaking.
* Now the question is how many drops you need to make. You are allowed to brea
k 2 eggs in the process
您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系我们|Free考研资料 ( 苏ICP备05011575号 )

GMT+8, 24-11-6 09:42 , Processed in 0.085698 second(s), 10 queries , Gzip On, Xcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表