Skip to content

What memoised recursion risks

A memoised solution is correct and fast enough, but fails on the largest input with a crash rather than a timeout.

What is the most likely cause?