you are given two eggs and an access to a 64 story building. both eggs are identical. the aim is to fond out the highest floor from which an egg will not break when dropped out of a window from that floor.if an egg is dropped and does not break,it is undamaged and can be dropped again.however, once an egg is broken,that’s it for that egg.if an egg breaks when dropped from floor n,then it would also have broken from floor above that.if an egg survives a fall,then it will survive any fall shorter than that.the question is:what is the worst case for the number of drops it will take?
`Hey,
Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.
We can do it by testing in sequences like
1+2+3+4.....x>=64
x*(x+1)/2>=64
x=10.825
So, n=11
Thiss means we will start dropping from 11 then jump up 10 then 9 an so on.
So,
In worst case drop count is 11
Kindly revert for any queries
Thanks.
you are given two eggs and an access to a 64 story building. both eggs are...
Discuss the energy and conflict from this story? Identify two or three points of improvements for this story? Love Hurts Ben Carter is a 40-year-old male from Tampa Florida. He’s divorced with two kids. Ben has been through a lot in his life with being in love with a woman. He’s compassionate and very caring. Ben has been married twice and don’t know if a third try is worth chancing. He feels like know matter where he looks, he gets...
Discuss the energy and conflict from this story? Identify two or three points of improvements for this story? Love Hurts Ben Carter is a 40-year-old male from Tampa Florida. He’s divorced with two kids. Ben has been through a lot in his life with being in love with a woman. He’s compassionate and very caring. Ben has been married twice and don’t know if a third try is worth chancing. He feels like know matter where he looks, he gets...
Hi there! I need to compare two essay into 1 essay, and make it interesting and choose couple topics which im going to talk about in my essay FIRST ESSAY “Teaching New Worlds/New Words” bell hooks Like desire, language disrupts, refuses to be contained within boundaries. It speaks itself against our will, in words and thoughts that intrude, even violate the most private spaces of mind and body. It was in my first year of college that I read Adrienne...