fix: drop deprecated coin change lib

This commit is contained in:
Rafael Taranto 2025-12-16 16:11:51 +00:00 committed by padreug
parent 38100a523e
commit 3151d0e7c9
4 changed files with 2 additions and 149 deletions

View file

@ -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)