Pseudopolynomial time

ID: pseudopolynomial-time

A time complexity polynomial in numerical input values, which need not be polynomial in their binary encoding lengths. For example, an knapsack algorithm depends on the capacity , while its input representation needs only bits for that capacity.

New to topics? Read the docs here!