discontinuedPackage algorithms_core has been discontinued and replaced by lunaris_engine.

dp_algorithms/coin_change library

Functions

coinChange(List<int> coins, int amount) → int
Solves the coin change problem using dynamic programming to find the minimum number of coins needed for a given amount.