How to: Throwing cats out of windows
How to: Throwing cats out of windows
Throwing cats out of windows
Imagine you’re in a tall building with a cat. The cat can survive a fall out of a low story window, but will die if thrown from a high floor. How can you figure out the longest drop that the cat can survive, using the least number of attempts?
Obviously, if you only have one cat, then you can only search linearly. First throw the cat from the first floor. If it…
View On WordPress












