Change-Making Problem

Given an unlimited amount of coins of denominations c1,,cnc_1, \ldots, c_n, and a desired sum SS, find the minimum number of coins necessary to make SS.

Parameters

  • nn: number of coin denominations
  • SS: sum to be made

Related Problems


Filters

Computational Model

Randomization

Approximation

Algorithms Table

Displaying 3 of 3 algorithms

See more
Probabilistic Convolution Tree2014O(nlogn)O(n \log n)O(nlogn)O(n \log n)
Dynamic Programming1953O(Sn)O(Sn)O(Sn)O(Sn)
Brute Force1940O(Sn)O(S^n)O(n)O(n)

Reductions Table

Insuffient Data to display table

Other relevant algorithms

Insuffient Data to display table