Overview
Unlike greedy coin selection—which fails on non-canonical denominations such as [1, 3, 4] for target 6—bottom-up Coin Change DP evaluates every reachable sub-amount from 1 to target in O(amount * |coins|) time, guaranteeing the globally minimum coin count.