MCPcopy Create free account
hub / github.com/algorithm004-01/algorithm004-01 / helper2

Method helper2

Week 05/id_536/leetcode_322_536.cpp:35–47  ·  view source on GitHub ↗

�ⷨ2:DP dp���̣�f(n) = { 0 ; ��n=0 1 + min{f(n-Ci)}; ��n>0 ע:nΪ��CiΪӲ����ֵ��iΪ��ֵ������ ʱ�临�Ӷ�O(n*amount),nΪӲ������ �ռ临�Ӷ�O(amount) *****/

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.65
minFunction · 0.50

Tested by

no test coverage detected