All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Decision problem, instance size?

Also known as: decision problem · instance size

Definition 16.1 University Computer Science — Year 3 · Chapter 16 — Time and Space Complexity

A decision problem is a set of instances, each with the answer yes or no; formally, the language of the encodings of the yes-instances. The instance size nn is the length of the encoding: a list of numbers takes the total number of their digits, a graph its number of vertices and edges, up to a constant factor.

Read in context →