fix: drop deprecated coin change lib
This commit is contained in:
parent
38100a523e
commit
3151d0e7c9
4 changed files with 2 additions and 149 deletions
|
|
@ -41,7 +41,7 @@ const memo_set = (memo, target, denom, solution) => {
|
|||
}
|
||||
|
||||
const check = (solution, target) =>
|
||||
!solution ||
|
||||
solution &&
|
||||
target ===
|
||||
solution.reduce((sum, [denom, provisioned]) => sum + denom * provisioned, 0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue