Computer Science I / Integrated Algorithm Design Practice
Practice question · Multiple choice

A problem is shown to be NP-complete. Why is that useful news rather than merely bad news?

Hints
  1. Ask what a team would do differently on Monday knowing the problem is NP-complete.
  2. Travelling salesman instances with thousands of cities are solved daily. What does that tell you?
Show the answer

B. Because it redirects the effort toward approximation or heuristics

Why

It tells you which search to abandon. Real instances are routinely solved by approximation, branch-and-bound, or exploiting structure the general problem lacks, so the classification redirects rather than closes the work, and knowing it early saves months of looking for something almost certainly not there.

Read the lesson: Integrated Algorithm Design Practice →

Practise Integrated Algorithm Design Practice

The app has 5 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.

More questions on Integrated Algorithm Design Practice