|
|
|
|
|
by sampo
5083 days ago
|
|
optimizing the average case is (in my experience) more common in optimization problems ... the author should say is that the number of floors required to break the egg follows a uniform distribution Then again, optimizing the worst case performance can be done without worrying about the underlying, and unknown, distribution of the lowest egg breaking drop. If we start optimizing the average performance, then we need to assume something about the distribution (is it uniform? exponential? is there a bump in the middle?), and different distribution will have different optimal search strategies. Looking at the worst case keeps the problem algorithmic, the version you propose would be more an exercise in probability calculus. |
|