Throwing cats out of windows
stackoverflow.com
stackoverflow.com
Almost right. It's O(m N^(1/m)).
Using cats rather than eggs or dogs paints a story that's fun to imagine. I could also ask the question by saying: there is an integer to find and any integer guessed above this removes one chance
I wonder how people might go about constructing their answer if they worry with respect to the cats lives as compared to the abstract version
This is a faulty postulate that cannot be overcome by even the most rigorous math in the world.
Although controlled studies have not been done (fortunately!), case statistics assembled by New York City veterinarians suggest that in many cases, falls from higher floors may actually be more survivable. One theory is that cats have more time to right themselves before reaching terminal velocity.
That episode was another great one, I think the whole show is something a lot of HN readers would enjoy. Here's the link to that segment: