Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ Dynamic Programming.py
File
Dynamic Programming.py
Dynamic Programming.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# 解决动态规划中的找零问题
2
# 输入需要找零的金额和货币的币值向量
3
# 输出满足找零条件的最少的硬币个数
4
def
ChangeMaking(coinVal, change):
Callers
nothing calls this directly
Calls
3
ChangeMaking
Function · 0.85
coinRow
Function · 0.85
maxBag
Function · 0.85
Tested by
no test coverage detected