O'Reilly logo

Digital Dice by Paul J. Nahin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

image

image

17. Waiting for Buses

All things come to him who will but wait.

—Longfellow, 1863

Here’s another sort of waiting problem, one that big-city dwellers probably face all the time. Imagine that you’ve just moved to a large city, and a friendly neighbor has told you about the local public transportation system. There are two independently operated bus lines, both of which stop in front of your apartment building. One stops every hour, on the hour. The other also stops once an hour, but not on the hour. That is, the first bus line arrives at . . ., ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required