Question: You have two coconuts and you want to find out how high they can be dropped from a 100 story building before they break. But you only have $1.40 and the elevator costs a dime each time you ride it up (it's free for rides down).
How can you drop the coconuts to guarantee you will find the lowest floor they will break at, while starting and ending at floor 1?
Note: They break when dropped from the same height and they don't weaken from getting dropped.
Answer: You could drop it at floor 1 first (because you start at floor 1). Then you would go to the floors: 14, 27, 39, 50, 60, 69, 77, 84, 90, 95, 99, and 100. Whatever floor your first coconut breaks at, go to the floor above the last floor the coconut survived and drop the second coconut from this floor. Then go up by one floor until the second coconut breaks and that is the lowest floor it will break at.
Question: There is a 5 gallon and a 3 gallon box. You also have a hose with unlimited water. How are you gonna make the 5 gallon have 4 gallons using your items? (You do not know the exact measure measurements of a gallon)
Answer: You fill the five gallon up and pour it into the 3 gallon. The dump the 3 gallon out and pour what was left in the 5 gallon into the 3 gallon so that you have 2 gallons in the 3 gallon. Then fill the 5 gallon up and pour it into the 3 gallon to fill it up. Now you have 4 gallons in the 5 gallons.