Programming Question

Question: You have a 100-story building and a couple of marbles. You must identify the lowest floor for which a marble will break if you drop it from this floor. How fast can you find this floor if you are given an infinite supply of marbles? What if you have only two marbles?

From: Algorithm Design Manual [Skiena]

Subject: Algorithm Analysis

Load Another Question


Select a Subject