A courier rider in Dhaka starts the morning with twenty parcels and a rule that no stop is visited twice. The shop owner wants the shortest round trip, and says the obvious thing: let the computer try every route and pick the best. That sounds fair. Now count the routes. With twenty stops there are 19! / 2 = 60,822,550,204,416,000 different round trips, about 6 × 10¹⁶. A computer that checks a billion routes every second would need 1.9 years. Add five more parcels and the count becomes 3.1 × 10²³, which is nearly ten million years. The method is not wrong. It is correct, and it does finish. It just doesn't finish in time.
The last chapter ended at a wall of a different kind: questions that no machine can answer at all, however much time we give it, like the halting problem. This chapter lives on the near side of that wall. Here the machine can answer every question, and we ask how long it takes. Some questions are answered in a blink even for millions of inputs: sorting a list, finding the shortest path between two bus stops. Others, like the rider's route, blow up the moment the input grows. Is that a weakness of the algorithms we have found so far, or something built into the problems? Nobody knows for certain, and that uncertainty is one of the most famous open questions in all of mathematics. But a great deal is known around it, and that is what we study here: how to sort problems into classes, how to prove that a new problem belongs with the hard ones by translating a known hard problem into it, and what to do in practice when a hard problem lands on your desk.