Cisco Systems Interview Question
367 Interview Reviews |
Back to all Cisco Systems Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Engineering at Cisco Systems:
* You are given 2 eggs. * You have access to a 100-storey 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 100 th floor.Both eggs are identical. * You need to figure out the highest floor of a 100-storey building an egg can be dropped without breaking. * Now the question is how many drops you need to make. You are allowed to break 2 eggs in the process
Helpful Question?
Yes |
No
Inappropriate?
Answers & Comments (3)
0 of 3 people found this helpful
Helpful Answer?
Yes |
No
Inappropriate?
0 of 1 people found this helpful
Take egg2; drop it from floor 3.
If egg 1 broke, the answer is 1st floor.
If egg2 broke but egg1 did not then the answer is floor 2.
If none of them break,
Take egg1 to floor 5 and egg2 on floor 6.
If egg1 breaks, then it's floor 4.
If egg2 breaks but egg1 does not break, then it is floor 5th.
If none of them break, then
Take egg1 to floor 8 and egg2 to floor9. and so on.. You basically you covered 4 floor on the first try.. and you process 3 floors at a time... so you need 33 tries in the worst case..
Helpful Answer?
Yes |
No
Inappropriate?
To comment on this
question,
Sign In with Facebook or
Sign Up



0 of 3 people found this helpful
by Ahmed Al-Shinhab: