Problem #5

There is a critical height (which is a whole number of floors above
ground level), such that an egg dropped from that height (or higher)
will break, but if dropped from a lower height (no matter how many times),
it will not break. You are given two eggs and told that the critical
height is between 1 floor and 37 floors (inclusive). What is the
minimum number of times you must drop an egg in order to GUARANTEE the
successful determination of the critical height?