You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't seem to use any memoization library when running Exercism tests, stackage or not...
I tried:
chimera
memoize
fastmemo
There are probably more but I don't know how to find them all. What's the recommended solution for this? Get by without memoizing? For reference, I am working on the Change problem, whose most immediate (and imo straightforward) solution is to use a recursive DP algorithm and incorporate memoization.
The text was updated successfully, but these errors were encountered:
I can't seem to use any memoization library when running Exercism tests, […]
This is caused by no memoization libraries being listed as dependencies of the test runner. This cannot be fixed other than by arguing that one should be added and sending an patch.
What's the recommended solution for this?
In a local environment, you can use any dependencies you like. Only on the Exercism servers will compilation fail.
Get by without memoizing?
Yes, or rolling your own. Maybe you can lazily generate intermediate results into a data structure, and then to get the answer index into that data structure? Incidentally, that is how MemoTrie does it.
I can't seem to use any memoization library when running Exercism tests, stackage or not...
I tried:
There are probably more but I don't know how to find them all. What's the recommended solution for this? Get by without memoizing? For reference, I am working on the Change problem, whose most immediate (and imo straightforward) solution is to use a recursive DP algorithm and incorporate memoization.
The text was updated successfully, but these errors were encountered: